#CF77E7#CF77E7

#CF77E7 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.7% C 0.180 H 318.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CF77E7
RGBrgb(207, 119, 231)
HSLhsl(287, 70%, 69%)
HSVhsv(287, 48%, 91%)
CMYKcmyk(10.4%, 48.5%, 0%, 9.4%)
CIE-LABlab(63.53, 51.87, -42.85)
CIE-LCHlch(63.53, 67.28, 320.44°)
OKLaboklab(70.71% 0.1353 -0.1187)
OKLCHoklch(70.71% 0.18 318.7)
XYZxyz(46.7508, 32.2302, 79.3442)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF77E7 #8FE777
analogous
#9777E7 #CF77E7 #E777C7
triadic
#CF77E7 #E7CF77 #77E7CF
tetradic
#CF77E7 #E79777 #8FE777 #77C7E7
square
#CF77E7 #E79777 #8FE777 #77C7E7
split-complementary
#CF77E7 #C7E777 #77E797
monochromatic
#9F22C1 #BD43DE #CF77E7 #E1ABF0 #F4DFF9

Accessibility & contrast

On white

2.82
#CF77E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CF77E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF77E7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF77E7#FFFFFF#000000##000000
##CF77E71.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#CF87A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf77e7;
/* rgb */ color: rgb(207, 119, 231);
/* oklch */ color: oklch(70.7% 0.180 318.7);
Tailwind
colors: {
  custom: {
    50: '#e0a1ef',
    500: '#cf77e7',
    950: '#000000',
  },
}
SCSS
$custom: #cf77e7;
$custom-light: #e0a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf77e7",
  "rgb": {
    "r": 207,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 287.143,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70712,
    "c": 0.17998,
    "h": 318.7
  },
  "luminance": 0.32229
}

Semantic roles & 50–950 ramp

primary
#CF77E7
secondary
#D3EECC
accent
#D2143C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF77E7

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

Preview Lab → · Contrast checker → · Palette generator →

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