#AF66F9#AF66F9

#AF66F9 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.8% C 0.214 H 304.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF66F9
RGBrgb(175, 102, 249)
HSLhsl(270, 92%, 69%)
HSVhsv(270, 59%, 98%)
CMYKcmyk(29.7%, 59%, 0%, 2.4%)
CIE-LABlab(57.52, 56.32, -62.62)
CIE-LCHlch(57.52, 84.22, 311.97°)
OKLaboklab(65.79% 0.1195 -0.1771)
OKLCHoklch(65.79% 0.214 304)
XYZxyz(39.5256, 25.4564, 92.4354)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66F9 #B0F966
analogous
#6667F9 #AF66F9 #F966F9
triadic
#AF66F9 #F9AF66 #66F9AF
tetradic
#AF66F9 #F96667 #B0F966 #66F9F9
square
#AF66F9 #F96667 #B0F966 #66F9F9
split-complementary
#AF66F9 #F9F966 #67F966
monochromatic
#7209DC #902BF7 #AF66F9 #CEA1FB #EDDCFE

Accessibility & contrast

On white

3.45
#AF66F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AF66F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66F9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66F9#FFFFFF#000000##000000
##AF66F91.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B88FE
Deuteranopia (green-blind)
#438AF6
Tritanopia (blue-blind)
#A184A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af66f9;
/* rgb */ color: rgb(175, 102, 249);
/* oklch */ color: oklch(65.8% 0.214 304.0);
Tailwind
colors: {
  custom: {
    50: '#cb95fc',
    500: '#af66f9',
    950: '#000000',
  },
}
SCSS
$custom: #af66f9;
$custom-light: #cb95fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af66f9",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 269.796,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65786,
    "c": 0.21365,
    "h": 304
  },
  "luminance": 0.25456
}

Semantic roles & 50–950 ramp

primary
#AF66F9
secondary
#DEF3C8
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF66F9

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

Preview Lab → · Contrast checker → · Palette generator →

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