#CE42D5#CE42D5

#CE42D5 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.3% C 0.238 H 325.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CE42D5
RGBrgb(206, 66, 213)
HSLhsl(297, 64%, 55%)
HSVhsv(297, 69%, 84%)
CMYKcmyk(3.3%, 69%, 0%, 16.5%)
CIE-LABlab(53.84, 71.81, -48.05)
CIE-LCHlch(53.84, 86.40, 326.21°)
OKLaboklab(63.32% 0.1971 -0.1334)
OKLCHoklch(63.32% 0.238 325.9)
XYZxyz(39.4112, 21.8249, 65.0747)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42D5 #49D542
analogous
#8542D5 #CE42D5 #D54292
triadic
#CE42D5 #D5CE42 #42D5CE
tetradic
#CE42D5 #D58542 #49D542 #4292D5
square
#CE42D5 #D58542 #49D542 #4292D5
split-complementary
#CE42D5 #92D542 #42D585
monochromatic
#7B1C80 #AC28B2 #CE42D5 #DB74E0 #E8A6EB

Accessibility & contrast

On white

3.91
#CE42D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CE42D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42D5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42D5#FFFFFF#000000##000000
##CE42D51.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2176D9
Deuteranopia (green-blind)
#6287D1
Tritanopia (blue-blind)
#D35987
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ce42d5;
/* rgb */ color: rgb(206, 66, 213);
/* oklch */ color: oklch(63.3% 0.238 325.9);
Tailwind
colors: {
  custom: {
    50: '#e182e2',
    500: '#ce42d5',
    950: '#000000',
  },
}
SCSS
$custom: #ce42d5;
$custom-light: #e182e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42d5",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 297.143,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63316,
    "c": 0.23801,
    "h": 325.9
  },
  "luminance": 0.21822
}

Semantic roles & 50–950 ramp

primary
#CE42D5
secondary
#9DD89A
accent
#E74149
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE42D5

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

Preview Lab → · Contrast checker → · Palette generator →

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