#CE84EC#CE84EC

#CE84EC is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.8% C 0.164 H 315.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CE84EC
RGBrgb(206, 132, 236)
HSLhsl(283, 73%, 72%)
HSVhsv(283, 44%, 93%)
CMYKcmyk(12.7%, 44.1%, 0%, 7.5%)
CIE-LABlab(66.28, 45.85, -41.32)
CIE-LCHlch(66.28, 61.72, 317.97°)
OKLaboklab(72.8% 0.1169 -0.1144)
OKLCHoklch(72.8% 0.164 315.6)
XYZxyz(48.8429, 35.6818, 83.6550)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE84EC #A2EC84
analogous
#9A84EC #CE84EC #EC84D6
triadic
#CE84EC #ECCE84 #84ECCE
tetradic
#CE84EC #EC9A84 #A2EC84 #84D6EC
square
#CE84EC #EC9A84 #A2EC84 #84D6EC
split-complementary
#CE84EC #D6EC84 #84EC9A
monochromatic
#A121D5 #B94FE4 #CE84EC #E3B9F4 #F4E4FB

Accessibility & contrast

On white

2.58
#CE84EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CE84EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE84EC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE84EC#FFFFFF#000000##000000
##CE84EC1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#CD93AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ce84ec;
/* rgb */ color: rgb(206, 132, 236);
/* oklch */ color: oklch(72.8% 0.164 315.6);
Tailwind
colors: {
  custom: {
    50: '#dfa9f2',
    500: '#ce84ec',
    950: '#000000',
  },
}
SCSS
$custom: #ce84ec;
$custom-light: #dfa9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce84ec",
  "rgb": {
    "r": 206,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 282.692,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72804,
    "c": 0.16356,
    "h": 315.6
  },
  "luminance": 0.3568
}

Semantic roles & 50–950 ramp

primary
#CE84EC
secondary
#E0F3D8
accent
#D51049
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CE84EC

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

Preview Lab → · Contrast checker → · Palette generator →

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