#CF77DC#CF77DC

#CF77DC is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.2% C 0.169 H 322.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CF77DC
RGBrgb(207, 119, 220)
HSLhsl(292, 59%, 66%)
HSVhsv(292, 46%, 86%)
CMYKcmyk(5.9%, 45.9%, 0%, 13.7%)
CIE-LABlab(63.03, 49.74, -37.51)
CIE-LCHlch(63.03, 62.30, 322.98°)
OKLaboklab(70.18% 0.1337 -0.1033)
OKLCHoklch(70.18% 0.169 322.3)
XYZxyz(45.2458, 31.6282, 71.4178)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF77DC #84DC77
analogous
#9D77DC #CF77DC #DC77B7
triadic
#CF77DC #DCCF77 #77DCCF
tetradic
#CF77DC #DC9D77 #84DC77 #77B7DC
square
#CF77DC #DC9D77 #84DC77 #77B7DC
split-complementary
#CF77DC #B7DC77 #77DC9D
monochromatic
#9C2CAC #BE46CF #CF77DC #E0A8E9 #F1D8F5

Accessibility & contrast

On white

2.87
#CF77DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CF77DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF77DC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF77DC#FFFFFF#000000##000000
##CF77DC1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992DF
Deuteranopia (green-blind)
#829CD9
Tritanopia (blue-blind)
#D2839F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf77dc;
/* rgb */ color: rgb(207, 119, 220);
/* oklch */ color: oklch(70.2% 0.169 322.3);
Tailwind
colors: {
  custom: {
    50: '#dfa1e7',
    500: '#cf77dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf77dc;
$custom-light: #dfa1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf77dc",
  "rgb": {
    "r": 207,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 292.277,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70179,
    "c": 0.16892,
    "h": 322.3
  },
  "luminance": 0.31626
}

Semantic roles & 50–950 ramp

primary
#CF77DC
secondary
#CBE8C7
accent
#C71F34
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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