#AF77FD#AF77FD

#AF77FD is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.194 H 300.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AF77FD
RGBrgb(175, 119, 253)
HSLhsl(265, 97%, 73%)
HSVhsv(265, 53%, 99%)
CMYKcmyk(30.8%, 53%, 0%, 0.8%)
CIE-LABlab(61.13, 48.38, -59.04)
CIE-LCHlch(61.13, 76.33, 309.33°)
OKLaboklab(68.51% 0.0989 -0.1667)
OKLCHoklch(68.51% 0.194 300.7)
XYZxyz(42.0015, 29.3992, 96.3713)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77FD #C5FD77
analogous
#7782FD #AF77FD #F277FD
triadic
#AF77FD #FDAF77 #77FDAF
tetradic
#AF77FD #FD7782 #C5FD77 #77FDF2
square
#AF77FD #FD7782 #C5FD77 #77FDF2
split-complementary
#AF77FD #FDF277 #82FD77
monochromatic
#6904F6 #8C3BFC #AF77FD #D2B3FE #EDE1FF

Accessibility & contrast

On white

3.05
#AF77FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AF77FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77FD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77FD#FFFFFF#000000##000000
##AF77FD1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#9F91AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af77fd;
/* rgb */ color: rgb(175, 119, 253);
/* oklch */ color: oklch(68.5% 0.194 300.7);
Tailwind
colors: {
  custom: {
    50: '#caa0ff',
    500: '#af77fd',
    950: '#000000',
  },
}
SCSS
$custom: #af77fd;
$custom-light: #caa0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af77fd",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 265.075,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68514,
    "c": 0.1938,
    "h": 300.7
  },
  "luminance": 0.29399
}

Semantic roles & 50–950 ramp

primary
#AF77FD
secondary
#E8F7D4
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #AF77FD

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

Preview Lab → · Contrast checker → · Palette generator →

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