#AF77CE#AF77CE

#AF77CE is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.0% C 0.138 H 312.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF77CE
RGBrgb(175, 119, 206)
HSLhsl(279, 47%, 64%)
HSVhsv(279, 42%, 81%)
CMYKcmyk(15%, 42.2%, 0%, 19.2%)
CIE-LABlab(58.76, 37.57, -36.60)
CIE-LCHlch(58.76, 52.45, 315.75°)
OKLaboklab(65.97% 0.0935 -0.1014)
OKLCHoklch(65.97% 0.138 312.7)
XYZxyz(35.4147, 26.7645, 61.6810)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77CE #96CE77
analogous
#8377CE #AF77CE #CE77C1
triadic
#AF77CE #CEAF77 #77CEAF
tetradic
#AF77CE #CE8377 #96CE77 #77C1CE
square
#AF77CE #CE8377 #96CE77 #77C1CE
split-complementary
#AF77CE #C1CE77 #77CE83
monochromatic
#733695 #954ABE #AF77CE #C9A4DE #E4D1EE

Accessibility & contrast

On white

3.31
#AF77CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AF77CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77CE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77CE#FFFFFF#000000##000000
##AF77CE1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD1
Deuteranopia (green-blind)
#748FCC
Tritanopia (blue-blind)
#AC8499
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af77ce;
/* rgb */ color: rgb(175, 119, 206);
/* oklch */ color: oklch(66.0% 0.138 312.7);
Tailwind
colors: {
  custom: {
    50: '#c89fdd',
    500: '#af77ce',
    950: '#000000',
  },
}
SCSS
$custom: #af77ce;
$custom-light: #c89fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af77ce",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 278.621,
    "s": 47.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.13791,
    "h": 312.7
  },
  "luminance": 0.26764
}

Semantic roles & 50–950 ramp

primary
#AF77CE
secondary
#CCE0C1
accent
#BA2B5E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF77CE

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

Preview Lab → · Contrast checker → · Palette generator →

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