#AF77CF#AF77CF

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

Color values

HEX#AF77CF
RGBrgb(175, 119, 207)
HSLhsl(278, 48%, 64%)
HSVhsv(278, 43%, 81%)
CMYKcmyk(15.5%, 42.5%, 0%, 18.8%)
CIE-LABlab(58.80, 37.79, -37.09)
CIE-LCHlch(58.80, 52.95, 315.53°)
OKLaboklab(66.02% 0.0937 -0.1028)
OKLCHoklch(66.02% 0.139 312.4)
XYZxyz(35.5366, 26.8133, 62.3228)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77CF #97CF77
analogous
#8377CF #AF77CF #CF77C3
triadic
#AF77CF #CFAF77 #77CFAF
tetradic
#AF77CF #CF8377 #97CF77 #77C3CF
square
#AF77CF #CF8377 #97CF77 #77C3CF
split-complementary
#AF77CF #C3CF77 #77CF83
monochromatic
#733596 #944ABF #AF77CF #CAA4DF #E4D1EF

Accessibility & contrast

On white

3.30
#AF77CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AF77CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77CF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77CF#FFFFFF#000000##000000
##AF77CF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af77cf;
/* rgb */ color: rgb(175, 119, 207);
/* oklch */ color: oklch(66.0% 0.139 312.4);
Tailwind
colors: {
  custom: {
    50: '#c89fde',
    500: '#af77cf',
    950: '#000000',
  },
}
SCSS
$custom: #af77cf;
$custom-light: #c89fde;
$custom-dark: #000000;
JSON
{
  "hex": "#af77cf",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 278.182,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6602,
    "c": 0.13908,
    "h": 312.4
  },
  "luminance": 0.26813
}

Semantic roles & 50–950 ramp

primary
#AF77CF
secondary
#CDE0C1
accent
#BB2A5F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF77CF

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

Preview Lab → · Contrast checker → · Palette generator →

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