#CE42D2#CE42D2

#CE42D2 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.1% C 0.236 H 326.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CE42D2
RGBrgb(206, 66, 210)
HSLhsl(298, 62%, 54%)
HSVhsv(298, 69%, 82%)
CMYKcmyk(1.9%, 68.6%, 0%, 17.6%)
CIE-LABlab(53.68, 71.31, -46.60)
CIE-LCHlch(53.68, 85.19, 326.84°)
OKLaboklab(63.15% 0.1971 -0.1292)
OKLCHoklch(63.15% 0.236 326.8)
XYZxyz(39.0340, 21.6740, 63.0878)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42D2 #46D242
analogous
#8642D2 #CE42D2 #D2428E
triadic
#CE42D2 #D2CE42 #42D2CE
tetradic
#CE42D2 #D28642 #46D242 #428ED2
square
#CE42D2 #D28642 #46D242 #428ED2
split-complementary
#CE42D2 #8ED242 #42D286
monochromatic
#791E7C #AA29AD #CE42D2 #DB73DE #E8A5EA

Accessibility & contrast

On white

3.94
#CE42D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CE42D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42D2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42D2#FFFFFF#000000##000000
##CE42D21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D6
Deuteranopia (green-blind)
#6486CE
Tritanopia (blue-blind)
#D45885
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ce42d2;
/* rgb */ color: rgb(206, 66, 210);
/* oklch */ color: oklch(63.1% 0.236 326.8);
Tailwind
colors: {
  custom: {
    50: '#e182e0',
    500: '#ce42d2',
    950: '#000000',
  },
}
SCSS
$custom: #ce42d2;
$custom-light: #e182e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42d2",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 298.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.63148,
    "c": 0.23566,
    "h": 326.8
  },
  "luminance": 0.21671
}

Semantic roles & 50–950 ramp

primary
#CE42D2
secondary
#9BD799
accent
#E54348
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE42D2

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

Preview Lab → · Contrast checker → · Palette generator →

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