#AF77F9#AF77F9

#AF77F9 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.189 H 301.5°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AF77F9
RGBrgb(175, 119, 249)
HSLhsl(266, 92%, 72%)
HSVhsv(266, 52%, 98%)
CMYKcmyk(29.7%, 52.2%, 0%, 2.4%)
CIE-LABlab(60.91, 47.41, -57.19)
CIE-LCHlch(60.91, 74.29, 309.66°)
OKLaboklab(68.28% 0.0987 -0.1612)
OKLCHoklch(68.28% 0.189 301.5)
XYZxyz(41.3710, 29.1470, 93.0505)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77F9 #C1F977
analogous
#7780F9 #AF77F9 #F077F9
triadic
#AF77F9 #F9AF77 #77F9AF
tetradic
#AF77F9 #F97780 #C1F977 #77F9F0
square
#AF77F9 #F97780 #C1F977 #77F9F0
split-complementary
#AF77F9 #F9F077 #80F977
monochromatic
#6B0AEB #8D3CF6 #AF77F9 #D1B2FC #EEE2FE

Accessibility & contrast

On white

3.07
#AF77F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#AF77F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77F9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77F9#FFFFFF#000000##000000
##AF77F91.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FD
Deuteranopia (green-blind)
#5992F6
Tritanopia (blue-blind)
#A190AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af77f9;
/* rgb */ color: rgb(175, 119, 249);
/* oklch */ color: oklch(68.3% 0.189 301.5);
Tailwind
colors: {
  custom: {
    50: '#caa0fc',
    500: '#af77f9',
    950: '#000000',
  },
}
SCSS
$custom: #af77f9;
$custom-light: #caa0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af77f9",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 265.846,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68279,
    "c": 0.18904,
    "h": 301.5
  },
  "luminance": 0.29147
}

Semantic roles & 50–950 ramp

primary
#AF77F9
secondary
#E8F6D5
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #AF77F9

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

Preview Lab → · Contrast checker → · Palette generator →

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