#AF76EB#AF76EB

#AF76EB is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.174 H 304.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF76EB
RGBrgb(175, 118, 235)
HSLhsl(269, 75%, 69%)
HSVhsv(269, 50%, 92%)
CMYKcmyk(25.5%, 49.8%, 0%, 7.8%)
CIE-LABlab(59.95, 44.64, -50.97)
CIE-LCHlch(59.95, 67.75, 311.22°)
OKLaboklab(67.32% 0.0989 -0.143)
OKLCHoklch(67.32% 0.174 304.7)
XYZxyz(39.1498, 28.0692, 81.9366)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76EB #B2EB76
analogous
#7678EB #AF76EB #EA76EB
triadic
#AF76EB #EBAF76 #76EBAF
tetradic
#AF76EB #EB7678 #B2EB76 #76EBEA
square
#AF76EB #EB7678 #B2EB76 #76EBEA
split-complementary
#AF76EB #EBEA76 #78EB76
monochromatic
#711DC9 #9041E3 #AF76EB #CEABF3 #EDE1FB

Accessibility & contrast

On white

3.18
#AF76EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AF76EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76EB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76EB#FFFFFF#000000##000000
##AF76EB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#A58BA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af76eb;
/* rgb */ color: rgb(175, 118, 235);
/* oklch */ color: oklch(67.3% 0.174 304.7);
Tailwind
colors: {
  custom: {
    50: '#c99ff2',
    500: '#af76eb',
    950: '#000000',
  },
}
SCSS
$custom: #af76eb;
$custom-light: #c99ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#af76eb",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 269.231,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67324,
    "c": 0.17391,
    "h": 304.7
  },
  "luminance": 0.28069
}

Semantic roles & 50–950 ramp

primary
#AF76EB
secondary
#DFEFCD
accent
#D70F75
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AF76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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