#AF76EA#AF76EA

#AF76EA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.173 H 304.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF76EA
RGBrgb(175, 118, 234)
HSLhsl(269, 73%, 69%)
HSVhsv(269, 50%, 92%)
CMYKcmyk(25.2%, 49.6%, 0%, 8.2%)
CIE-LABlab(59.90, 44.41, -50.49)
CIE-LCHlch(59.90, 67.24, 311.33°)
OKLaboklab(67.27% 0.0988 -0.1417)
OKLCHoklch(67.27% 0.173 304.9)
XYZxyz(39.0058, 28.0115, 81.1778)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76EA #B1EA76
analogous
#7677EA #AF76EA #E976EA
triadic
#AF76EA #EAAF76 #76EAAF
tetradic
#AF76EA #EA7677 #B1EA76 #76EAE9
square
#AF76EA #EA7677 #B1EA76 #76EAE9
split-complementary
#AF76EA #EAE976 #77EA76
monochromatic
#711FC7 #9041E2 #AF76EA #CEABF2 #EDE0FA

Accessibility & contrast

On white

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

On black

6.60
#AF76EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76EA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76EA#FFFFFF#000000##000000
##AF76EA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEE
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#A58BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af76ea;
/* rgb */ color: rgb(175, 118, 234);
/* oklch */ color: oklch(67.3% 0.173 304.9);
Tailwind
colors: {
  custom: {
    50: '#c99ff1',
    500: '#af76ea',
    950: '#000000',
  },
}
SCSS
$custom: #af76ea;
$custom-light: #c99ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#af76ea",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 269.483,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67269,
    "c": 0.17272,
    "h": 304.9
  },
  "luminance": 0.28011
}

Semantic roles & 50–950 ramp

primary
#AF76EA
secondary
#DEEFCD
accent
#D61074
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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