#AF6CF9#AF6CF9

#AF6CF9 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.6% C 0.205 H 303.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF6CF9
RGBrgb(175, 108, 249)
HSLhsl(269, 92%, 70%)
HSVhsv(269, 57%, 98%)
CMYKcmyk(29.7%, 56.6%, 0%, 2.4%)
CIE-LABlab(58.68, 53.24, -60.76)
CIE-LCHlch(58.68, 80.79, 311.23°)
OKLaboklab(66.63% 0.1123 -0.1717)
OKLCHoklch(66.63% 0.205 303.2)
XYZxyz(40.1368, 26.6787, 92.6392)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6CF9 #B6F96C
analogous
#6C6FF9 #AF6CF9 #F66CF9
triadic
#AF6CF9 #F9AF6C #6CF9AF
tetradic
#AF6CF9 #F96C6F #B6F96C #6CF9F6
square
#AF6CF9 #F96C6F #B6F96C #6CF9F6
split-complementary
#AF6CF9 #F9F66C #6FF96C
monochromatic
#7009E1 #8F31F7 #AF6CF9 #CFA7FB #EFE2FE

Accessibility & contrast

On white

3.31
#AF6CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AF6CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6CF9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6CF9#FFFFFF#000000##000000
##AF6CF91.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#308CFE
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#A188A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6cf9;
/* rgb */ color: rgb(175, 108, 249);
/* oklch */ color: oklch(66.6% 0.205 303.2);
Tailwind
colors: {
  custom: {
    50: '#cb99fc',
    500: '#af6cf9',
    950: '#000000',
  },
}
SCSS
$custom: #af6cf9;
$custom-light: #cb99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af6cf9",
  "rgb": {
    "r": 175,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 268.511,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.66632,
    "c": 0.20516,
    "h": 303.2
  },
  "luminance": 0.26679
}

Semantic roles & 50–950 ramp

primary
#AF6CF9
secondary
#E1F4CD
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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