#AF76EE#AF76EE

#AF76EE is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.5% C 0.177 H 304.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AF76EE
RGBrgb(175, 118, 238)
HSLhsl(269, 78%, 70%)
HSVhsv(269, 50%, 93%)
CMYKcmyk(26.5%, 50.4%, 0%, 6.7%)
CIE-LABlab(60.11, 45.35, -52.38)
CIE-LCHlch(60.11, 69.28, 310.88°)
OKLaboklab(67.49% 0.0992 -0.1472)
OKLCHoklch(67.49% 0.177 304)
XYZxyz(39.5869, 28.2440, 84.2385)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76EE #B5EE76
analogous
#7679EE #AF76EE #EB76EE
triadic
#AF76EE #EEAF76 #76EEAF
tetradic
#AF76EE #EE7679 #B5EE76 #76EEEB
square
#AF76EE #EE7679 #B5EE76 #76EEEB
split-complementary
#AF76EE #EEEB76 #79EE76
monochromatic
#701AD0 #8F40E7 #AF76EE #CFACF5 #EFE3FC

Accessibility & contrast

On white

3.16
#AF76EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AF76EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76EE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76EE#FFFFFF#000000##000000
##AF76EE1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF2
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#A48CA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af76ee;
/* rgb */ color: rgb(175, 118, 238);
/* oklch */ color: oklch(67.5% 0.177 304.0);
Tailwind
colors: {
  custom: {
    50: '#ca9ff4',
    500: '#af76ee',
    950: '#000000',
  },
}
SCSS
$custom: #af76ee;
$custom-light: #ca9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#af76ee",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 268.5,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67492,
    "c": 0.17747,
    "h": 304
  },
  "luminance": 0.28244
}

Semantic roles & 50–950 ramp

primary
#AF76EE
secondary
#E1F1CF
accent
#DA0B78
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AF76EE

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

Preview Lab → · Contrast checker → · Palette generator →

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