#AF77F7#AF77F7

#AF77F7 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.2% C 0.187 H 301.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AF77F7
RGBrgb(175, 119, 247)
HSLhsl(266, 89%, 72%)
HSVhsv(266, 52%, 97%)
CMYKcmyk(29.1%, 51.8%, 0%, 3.1%)
CIE-LABlab(60.80, 46.94, -56.26)
CIE-LCHlch(60.80, 73.27, 309.84°)
OKLaboklab(68.16% 0.0986 -0.1585)
OKLCHoklch(68.16% 0.187 301.9)
XYZxyz(41.0607, 29.0229, 91.4164)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77F7 #BFF777
analogous
#777FF7 #AF77F7 #EF77F7
triadic
#AF77F7 #F7AF77 #77F7AF
tetradic
#AF77F7 #F7777F #BFF777 #77F7EF
square
#AF77F7 #F7777F #BFF777 #77F7EF
split-complementary
#AF77F7 #F7EF77 #7FF777
monochromatic
#6C0EE6 #8D3DF4 #AF77F7 #D1B1FA #EEE2FD

Accessibility & contrast

On white

3.09
#AF77F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AF77F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77F7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77F7#FFFFFF#000000##000000
##AF77F71.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#5B92F4
Tritanopia (blue-blind)
#A18FAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af77f7;
/* rgb */ color: rgb(175, 119, 247);
/* oklch */ color: oklch(68.2% 0.187 301.9);
Tailwind
colors: {
  custom: {
    50: '#caa0fa',
    500: '#af77f7',
    950: '#000000',
  },
}
SCSS
$custom: #af77f7;
$custom-light: #caa0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#af77f7",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 266.25,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68163,
    "c": 0.18666,
    "h": 301.9
  },
  "luminance": 0.29023
}

Semantic roles & 50–950 ramp

primary
#AF77F7
secondary
#E7F5D5
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #AF77F7

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

Preview Lab → · Contrast checker → · Palette generator →

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