#CE42C5#CE42C5

#CE42C5 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.4% C 0.226 H 330.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CE42C5
RGBrgb(206, 66, 197)
HSLhsl(304, 59%, 53%)
HSVhsv(304, 68%, 81%)
CMYKcmyk(0%, 68%, 4.4%, 19.2%)
CIE-LABlab(53.01, 69.21, -40.21)
CIE-LCHlch(53.01, 80.04, 329.84°)
OKLaboklab(62.45% 0.1967 -0.1107)
OKLCHoklch(62.45% 0.226 330.6)
XYZxyz(37.4797, 21.0523, 54.9020)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42C5 #42CE4B
analogous
#9142CE #CE42C5 #CE427F
triadic
#CE42C5 #C5CE42 #42C5CE
tetradic
#CE42C5 #CE9142 #42CE4B #427FCE
square
#CE42C5 #CE9142 #42CE4B #427FCE
split-complementary
#CE42C5 #7FCE42 #42CE91
monochromatic
#771F71 #A72B9F #CE42C5 #DB73D4 #E7A3E3

Accessibility & contrast

On white

4.03
#CE42C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CE42C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42C5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42C5#FFFFFF#000000##000000
##CE42C51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3672C9
Deuteranopia (green-blind)
#6B85C1
Tritanopia (blue-blind)
#D6527E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ce42c5;
/* rgb */ color: rgb(206, 66, 197);
/* oklch */ color: oklch(62.4% 0.226 330.6);
Tailwind
colors: {
  custom: {
    50: '#e182d7',
    500: '#ce42c5',
    950: '#000000',
  },
}
SCSS
$custom: #ce42c5;
$custom-light: #e182d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42c5",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 303.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62446,
    "c": 0.22568,
    "h": 330.6
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#CE42C5
secondary
#98D49C
accent
#E25046
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE42C5

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

Preview Lab → · Contrast checker → · Palette generator →

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