#AFA0FC#AFA0FC

#AFA0FC is a light, vivid blue. Relative luminance 0.413; OKLCH L 75.4% C 0.131 H 290.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#AFA0FC
RGBrgb(175, 160, 252)
HSLhsl(250, 94%, 81%)
HSVhsv(250, 37%, 99%)
CMYKcmyk(30.6%, 36.5%, 0%, 1.2%)
CIE-LABlab(70.37, 25.36, -43.87)
CIE-LCHlch(70.37, 50.67, 300.03°)
OKLaboklab(75.45% 0.0455 -0.1225)
OKLCHoklch(75.45% 0.131 290.4)
XYZxyz(47.8162, 41.2829, 97.5257)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0FC #EDFCA0
analogous
#A0BFFC #AFA0FC #DDA0FC
triadic
#AFA0FC #FCAFA0 #A0FCAF
tetradic
#AFA0FC #FCA0BF #EDFCA0 #A0FCDD
square
#AFA0FC #FCA0BF #EDFCA0 #A0FCDD
split-complementary
#AFA0FC #FCDDA0 #BFFCA0
monochromatic
#4B29F8 #7D65FA #AFA0FC #E1DBFE #E6E1FE

Accessibility & contrast

On white

2.27
#AFA0FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#AFA0FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0FC
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0FC#FFFFFF#000000##000000
##AFA0FC1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#9DB1C2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa0fc;
/* rgb */ color: rgb(175, 160, 252);
/* oklch */ color: oklch(75.4% 0.131 290.4);
Tailwind
colors: {
  custom: {
    50: '#c9bcfd',
    500: '#afa0fc',
    950: '#000000',
  },
}
SCSS
$custom: #afa0fc;
$custom-light: #c9bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0fc",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 252
  },
  "hsl": {
    "h": 249.783,
    "s": 93.878,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75449,
    "c": 0.13068,
    "h": 290.4
  },
  "luminance": 0.41284
}

Semantic roles & 50–950 ramp

primary
#AFA0FC
secondary
#F1F6D5
accent
#E600C0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA0FC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AFA0FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva