#AF77EA#AF77EA

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

Color values

HEX#AF77EA
RGBrgb(175, 119, 234)
HSLhsl(269, 73%, 69%)
HSVhsv(269, 49%, 92%)
CMYKcmyk(25.2%, 49.1%, 0%, 8.2%)
CIE-LABlab(60.11, 43.87, -50.15)
CIE-LCHlch(60.11, 66.63, 311.18°)
OKLaboklab(67.43% 0.0975 -0.1407)
OKLCHoklch(67.43% 0.171 304.7)
XYZxyz(39.1241, 28.2483, 81.2173)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77EA #B2EA77
analogous
#7779EA #AF77EA #E877EA
triadic
#AF77EA #EAAF77 #77EAAF
tetradic
#AF77EA #EA7779 #B2EA77 #77EAE8
square
#AF77EA #EA7779 #B2EA77 #77EAE8
split-complementary
#AF77EA #EAE877 #79EA77
monochromatic
#711FC8 #9042E2 #AF77EA #CEACF2 #EDE1FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF77EA#FFFFFF#000000##000000
##AF77EA1.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)
#558FEE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#A58BA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af77ea;
/* rgb */ color: rgb(175, 119, 234);
/* oklch */ color: oklch(67.4% 0.171 304.7);
Tailwind
colors: {
  custom: {
    50: '#c99ff1',
    500: '#af77ea',
    950: '#000000',
  },
}
SCSS
$custom: #af77ea;
$custom-light: #c99ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#af77ea",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 269.217,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67428,
    "c": 0.17115,
    "h": 304.7
  },
  "luminance": 0.28248
}

Semantic roles & 50–950 ramp

primary
#AF77EA
secondary
#DFEFCE
accent
#D51075
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AF77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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