#CF84E5#CF84E5

#CF84E5 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.6% C 0.156 H 318.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CF84E5
RGBrgb(207, 132, 229)
HSLhsl(286, 65%, 71%)
HSVhsv(286, 42%, 90%)
CMYKcmyk(9.6%, 42.4%, 0%, 10.2%)
CIE-LABlab(66.08, 44.72, -37.76)
CIE-LCHlch(66.08, 58.53, 319.83°)
OKLaboklab(72.58% 0.1168 -0.1041)
OKLCHoklch(72.58% 0.156 318.3)
XYZxyz(48.1243, 35.4266, 78.4165)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84E5 #9AE584
analogous
#9E84E5 #CF84E5 #E584CA
triadic
#CF84E5 #E5CF84 #84E5CF
tetradic
#CF84E5 #E59E84 #9AE584 #84CAE5
square
#CF84E5 #E59E84 #9AE584 #84CAE5
split-complementary
#CF84E5 #CAE584 #84E59E
monochromatic
#A22AC5 #BB51DA #CF84E5 #E3B7F0 #F5E6FA

Accessibility & contrast

On white

2.60
#CF84E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CF84E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84E5
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84E5#FFFFFF#000000##000000
##CF84E51.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759CE8
Deuteranopia (green-blind)
#89A3E2
Tritanopia (blue-blind)
#CF91AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf84e5;
/* rgb */ color: rgb(207, 132, 229);
/* oklch */ color: oklch(72.6% 0.156 318.3);
Tailwind
colors: {
  custom: {
    50: '#dfa9ed',
    500: '#cf84e5',
    950: '#000000',
  },
}
SCSS
$custom: #cf84e5;
$custom-light: #dfa9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84e5",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 229
  },
  "hsl": {
    "h": 286.392,
    "s": 65.101,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7258,
    "c": 0.15649,
    "h": 318.3
  },
  "luminance": 0.35425
}

Semantic roles & 50–950 ramp

primary
#CF84E5
secondary
#DBEFD5
accent
#CD1941
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF84E5

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

Preview Lab → · Contrast checker → · Palette generator →

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