#AF6EE9#AF6EE9

#AF6EE9 is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.0% C 0.184 H 306.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF6EE9
RGBrgb(175, 110, 233)
HSLhsl(272, 74%, 67%)
HSVhsv(272, 53%, 91%)
CMYKcmyk(24.9%, 52.8%, 0%, 8.6%)
CIE-LABlab(58.18, 48.48, -52.67)
CIE-LCHlch(58.18, 71.58, 312.63°)
OKLaboklab(65.98% 0.1092 -0.148)
OKLCHoklch(65.98% 0.184 306.4)
XYZxyz(37.9601, 26.1494, 80.1225)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EE9 #A8E96E
analogous
#716EE9 #AF6EE9 #E96EE6
triadic
#AF6EE9 #E9AF6E #6EE9AF
tetradic
#AF6EE9 #E9716E #A8E96E #6EE6E9
square
#AF6EE9 #E9716E #A8E96E #6EE6E9
split-complementary
#AF6EE9 #E6E96E #6EE971
monochromatic
#731DC0 #9239E1 #AF6EE9 #CCA3F1 #EAD8F9

Accessibility & contrast

On white

3.37
#AF6EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AF6EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EE9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EE9#FFFFFF#000000##000000
##AF6EE91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AED
Deuteranopia (green-blind)
#5C8CE6
Tritanopia (blue-blind)
#A684A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af6ee9;
/* rgb */ color: rgb(175, 110, 233);
/* oklch */ color: oklch(66.0% 0.184 306.4);
Tailwind
colors: {
  custom: {
    50: '#ca9af0',
    500: '#af6ee9',
    950: '#000000',
  },
}
SCSS
$custom: #af6ee9;
$custom-light: #ca9af0;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ee9",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 233
  },
  "hsl": {
    "h": 271.707,
    "s": 73.653,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65977,
    "c": 0.18393,
    "h": 306.4
  },
  "luminance": 0.26149
}

Semantic roles & 50–950 ramp

primary
#AF6EE9
secondary
#D8EDC6
accent
#D6106D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF6EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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