#CE42D1#CE42D1

#CE42D1 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.1% C 0.235 H 327.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CE42D1
RGBrgb(206, 66, 209)
HSLhsl(299, 61%, 54%)
HSVhsv(299, 68%, 82%)
CMYKcmyk(1.4%, 68.4%, 0%, 18%)
CIE-LABlab(53.63, 71.15, -46.11)
CIE-LCHlch(53.63, 84.78, 327.05°)
OKLaboklab(63.09% 0.1971 -0.1278)
OKLCHoklch(63.09% 0.235 327)
XYZxyz(38.9098, 21.6243, 62.4338)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42D1 #45D142
analogous
#8742D1 #CE42D1 #D1428D
triadic
#CE42D1 #D1CE42 #42D1CE
tetradic
#CE42D1 #D18742 #45D142 #428DD1
square
#CE42D1 #D18742 #45D142 #428DD1
split-complementary
#CE42D1 #8DD142 #42D187
monochromatic
#791E7B #A92AAC #CE42D1 #DB73DD #E8A4E9

Accessibility & contrast

On white

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

On black

5.32
#CE42D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42D1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42D1#FFFFFF#000000##000000
##CE42D11.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2775D5
Deuteranopia (green-blind)
#6486CD
Tritanopia (blue-blind)
#D45785
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ce42d1;
/* rgb */ color: rgb(206, 66, 209);
/* oklch */ color: oklch(63.1% 0.235 327.0);
Tailwind
colors: {
  custom: {
    50: '#e182df',
    500: '#ce42d1',
    950: '#000000',
  },
}
SCSS
$custom: #ce42d1;
$custom-light: #e182df;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42d1",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 298.741,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.23488,
    "h": 327
  },
  "luminance": 0.21622
}

Semantic roles & 50–950 ramp

primary
#CE42D1
secondary
#9AD699
accent
#E44447
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE42D1

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

Preview Lab → · Contrast checker → · Palette generator →

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