#AF66E8#AF66E8

#AF66E8 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.7% C 0.195 H 307.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF66E8
RGBrgb(175, 102, 232)
HSLhsl(274, 74%, 65%)
HSVhsv(274, 56%, 91%)
CMYKcmyk(24.6%, 56%, 0%, 9%)
CIE-LABlab(56.53, 52.43, -54.74)
CIE-LCHlch(56.53, 75.80, 313.77°)
OKLaboklab(64.74% 0.1194 -0.154)
OKLCHoklch(64.74% 0.195 307.8)
XYZxyz(36.9931, 24.4434, 79.0975)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66E8 #9FE866
analogous
#6E66E8 #AF66E8 #E866E0
triadic
#AF66E8 #E8AF66 #66E8AF
tetradic
#AF66E8 #E86E66 #9FE866 #66E0E8
square
#AF66E8 #E86E66 #9FE866 #66E0E8
split-complementary
#AF66E8 #E0E866 #66E86E
monochromatic
#731CB8 #9331E0 #AF66E8 #CB9BF0 #E7D0F8

Accessibility & contrast

On white

3.57
#AF66E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AF66E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66E8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66E8#FFFFFF#000000##000000
##AF66E81.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#5488E5
Tritanopia (blue-blind)
#A67E9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af66e8;
/* rgb */ color: rgb(175, 102, 232);
/* oklch */ color: oklch(64.7% 0.195 307.8);
Tailwind
colors: {
  custom: {
    50: '#ca94f0',
    500: '#af66e8',
    950: '#000000',
  },
}
SCSS
$custom: #af66e8;
$custom-light: #ca94f0;
$custom-dark: #000000;
JSON
{
  "hex": "#af66e8",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 273.692,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64745,
    "c": 0.19487,
    "h": 307.8
  },
  "luminance": 0.24443
}

Semantic roles & 50–950 ramp

primary
#AF66E8
secondary
#D2EBBF
accent
#D61067
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF66E8

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

Preview Lab → · Contrast checker → · Palette generator →

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