#AF77CD#AF77CD

#AF77CD is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.9% C 0.137 H 313.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF77CD
RGBrgb(175, 119, 205)
HSLhsl(279, 46%, 64%)
HSVhsv(279, 42%, 80%)
CMYKcmyk(14.6%, 42%, 0%, 19.6%)
CIE-LABlab(58.71, 37.35, -36.10)
CIE-LCHlch(58.71, 51.95, 315.98°)
OKLaboklab(65.92% 0.0933 -0.0999)
OKLCHoklch(65.92% 0.137 313)
XYZxyz(35.2936, 26.7161, 61.0433)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77CD #95CD77
analogous
#8477CD #AF77CD #CD77C0
triadic
#AF77CD #CDAF77 #77CDAF
tetradic
#AF77CD #CD8477 #95CD77 #77C0CD
square
#AF77CD #CD8477 #95CD77 #77C0CD
split-complementary
#AF77CD #C0CD77 #77CD84
monochromatic
#733693 #954ABD #AF77CD #C9A4DD #E4D0EE

Accessibility & contrast

On white

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

On black

6.34
#AF77CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77CD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77CD#FFFFFF#000000##000000
##AF77CD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#678AD0
Deuteranopia (green-blind)
#758FCB
Tritanopia (blue-blind)
#AC8398
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af77cd;
/* rgb */ color: rgb(175, 119, 205);
/* oklch */ color: oklch(65.9% 0.137 313.0);
Tailwind
colors: {
  custom: {
    50: '#c89fdc',
    500: '#af77cd',
    950: '#000000',
  },
}
SCSS
$custom: #af77cd;
$custom-light: #c89fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af77cd",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 279.07,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65922,
    "c": 0.13674,
    "h": 313
  },
  "luminance": 0.26715
}

Semantic roles & 50–950 ramp

primary
#AF77CD
secondary
#CBDFC1
accent
#B92C5D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF77CD

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

Preview Lab → · Contrast checker → · Palette generator →

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