#AF66F4#AF66F4

#AF66F4 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.5% C 0.208 H 305.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF66F4
RGBrgb(175, 102, 244)
HSLhsl(271, 87%, 68%)
HSVhsv(271, 58%, 96%)
CMYKcmyk(28.3%, 58.2%, 0%, 4.3%)
CIE-LABlab(57.22, 55.17, -60.32)
CIE-LCHlch(57.22, 81.75, 312.44°)
OKLaboklab(65.47% 0.1195 -0.1704)
OKLCHoklch(65.47% 0.208 305)
XYZxyz(38.7561, 25.1486, 88.3828)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66F4 #ABF466
analogous
#6866F4 #AF66F4 #F466F2
triadic
#AF66F4 #F4AF66 #66F4AF
tetradic
#AF66F4 #F46866 #ABF466 #66F2F4
square
#AF66F4 #F46866 #ABF466 #66F2F4
split-complementary
#AF66F4 #F2F466 #66F468
monochromatic
#730FD1 #912DF0 #AF66F4 #CD9FF8 #EBD8FC

Accessibility & contrast

On white

3.48
#AF66F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#AF66F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66F4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66F4#FFFFFF#000000##000000
##AF66F41.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F9
Deuteranopia (green-blind)
#488AF1
Tritanopia (blue-blind)
#A382A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af66f4;
/* rgb */ color: rgb(175, 102, 244);
/* oklch */ color: oklch(65.5% 0.208 305.0);
Tailwind
colors: {
  custom: {
    50: '#cb95f8',
    500: '#af66f4',
    950: '#000000',
  },
}
SCSS
$custom: #af66f4;
$custom-light: #cb95f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af66f4",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 270.845,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65473,
    "c": 0.20814,
    "h": 305
  },
  "luminance": 0.25148
}

Semantic roles & 50–950 ramp

primary
#AF66F4
secondary
#DAF1C5
accent
#E30270
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF66F4

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

Preview Lab → · Contrast checker → · Palette generator →

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