#AF77EE#AF77EE

#AF77EE is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.176 H 303.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AF77EE
RGBrgb(175, 119, 238)
HSLhsl(268, 78%, 70%)
HSVhsv(268, 50%, 93%)
CMYKcmyk(26.5%, 50%, 0%, 6.7%)
CIE-LABlab(60.32, 44.80, -52.04)
CIE-LCHlch(60.32, 68.67, 310.72°)
OKLaboklab(67.65% 0.0979 -0.1462)
OKLCHoklch(67.65% 0.176 303.8)
XYZxyz(39.7053, 28.4808, 84.2779)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77EE #B6EE77
analogous
#777BEE #AF77EE #EA77EE
triadic
#AF77EE #EEAF77 #77EEAF
tetradic
#AF77EE #EE777B #B6EE77 #77EEEA
square
#AF77EE #EE777B #B6EE77 #77EEEA
split-complementary
#AF77EE #EEEA77 #7BEE77
monochromatic
#701AD1 #8F41E7 #AF77EE #CFADF5 #EFE4FC

Accessibility & contrast

On white

3.14
#AF77EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AF77EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77EE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77EE#FFFFFF#000000##000000
##AF77EE1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#6291EB
Tritanopia (blue-blind)
#A48CA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af77ee;
/* rgb */ color: rgb(175, 119, 238);
/* oklch */ color: oklch(67.7% 0.176 303.8);
Tailwind
colors: {
  custom: {
    50: '#caa0f4',
    500: '#af77ee',
    950: '#000000',
  },
}
SCSS
$custom: #af77ee;
$custom-light: #caa0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af77ee",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 268.235,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.6765,
    "c": 0.17593,
    "h": 303.8
  },
  "luminance": 0.28481
}

Semantic roles & 50–950 ramp

primary
#AF77EE
secondary
#E1F1D0
accent
#DA0B79
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AF77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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