#AF77ED#AF77ED

#AF77ED is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.175 H 304.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AF77ED
RGBrgb(175, 119, 237)
HSLhsl(268, 77%, 70%)
HSVhsv(268, 50%, 93%)
CMYKcmyk(26.2%, 49.8%, 0%, 7.1%)
CIE-LABlab(60.27, 44.57, -51.57)
CIE-LCHlch(60.27, 68.16, 310.83°)
OKLaboklab(67.59% 0.0978 -0.1448)
OKLCHoklch(67.59% 0.175 304)
XYZxyz(39.5588, 28.4222, 83.5063)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77ED #B5ED77
analogous
#777AED #AF77ED #EA77ED
triadic
#AF77ED #EDAF77 #77EDAF
tetradic
#AF77ED #ED777A #B5ED77 #77EDEA
square
#AF77ED #ED777A #B5ED77 #77EDEA
split-complementary
#AF77ED #EDEA77 #7AED77
monochromatic
#701BCE #8F41E6 #AF77ED #CFADF4 #EFE3FB

Accessibility & contrast

On white

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

On black

6.68
#AF77ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77ED
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77ED#FFFFFF#000000##000000
##AF77ED1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F1
Deuteranopia (green-blind)
#6291EA
Tritanopia (blue-blind)
#A48CA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af77ed;
/* rgb */ color: rgb(175, 119, 237);
/* oklch */ color: oklch(67.6% 0.175 304.0);
Tailwind
colors: {
  custom: {
    50: '#c99ff3',
    500: '#af77ed',
    950: '#000000',
  },
}
SCSS
$custom: #af77ed;
$custom-light: #c99ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#af77ed",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 268.475,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67594,
    "c": 0.17473,
    "h": 304
  },
  "luminance": 0.28422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF77ED

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

Preview Lab → · Contrast checker → · Palette generator →

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