#CE42CD#CE42CD

#CE42CD is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.9% C 0.232 H 328.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CE42CD
RGBrgb(206, 66, 205)
HSLhsl(300, 59%, 53%)
HSVhsv(300, 68%, 81%)
CMYKcmyk(0%, 68%, 0.5%, 19.2%)
CIE-LABlab(53.42, 70.49, -44.16)
CIE-LCHlch(53.42, 83.18, 327.94°)
OKLaboklab(62.87% 0.197 -0.1221)
OKLCHoklch(62.87% 0.232 328.2)
XYZxyz(38.4208, 21.4287, 59.8583)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42CD #42CE43
analogous
#8942CE #CE42CD #CE4287
triadic
#CE42CD #CDCE42 #42CDCE
tetradic
#CE42CD #CE8942 #42CE43 #4287CE
square
#CE42CD #CE8942 #42CE43 #4287CE
split-complementary
#CE42CD #87CE42 #42CE89
monochromatic
#771F76 #A72BA7 #CE42CD #DB73DA #E7A3E7

Accessibility & contrast

On white

3.97
#CE42CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CE42CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42CD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42CD#FFFFFF#000000##000000
##CE42CD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#D45683
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ce42cd;
/* rgb */ color: rgb(206, 66, 205);
/* oklch */ color: oklch(62.9% 0.232 328.2);
Tailwind
colors: {
  custom: {
    50: '#e182dd',
    500: '#ce42cd',
    950: '#000000',
  },
}
SCSS
$custom: #ce42cd;
$custom-light: #e182dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42cd",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 300.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62873,
    "c": 0.23178,
    "h": 328.2
  },
  "luminance": 0.21426
}

Semantic roles & 50–950 ramp

primary
#CE42CD
secondary
#98D498
accent
#E24746
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE42CD

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

Preview Lab → · Contrast checker → · Palette generator →

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