#CE42C3#CE42C3

#CE42C3 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.3% C 0.224 H 331.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CE42C3
RGBrgb(206, 66, 195)
HSLhsl(305, 59%, 53%)
HSVhsv(305, 68%, 81%)
CMYKcmyk(0%, 68%, 5.3%, 19.2%)
CIE-LABlab(52.91, 68.90, -39.21)
CIE-LCHlch(52.91, 79.28, 330.35°)
OKLaboklab(62.34% 0.1965 -0.1078)
OKLCHoklch(62.34% 0.224 331.2)
XYZxyz(37.2521, 20.9612, 53.7031)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42C3 #42CE4D
analogous
#9342CE #CE42C3 #CE427D
triadic
#CE42C3 #C3CE42 #42C3CE
tetradic
#CE42C3 #CE9342 #42CE4D #427DCE
square
#CE42C3 #CE9342 #42CE4D #427DCE
split-complementary
#CE42C3 #7DCE42 #42CE93
monochromatic
#771F70 #A72B9E #CE42C3 #DB73D2 #E7A3E2

Accessibility & contrast

On white

4.04
#CE42C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CE42C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42C3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42C3#FFFFFF#000000##000000
##CE42C31.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3872C7
Deuteranopia (green-blind)
#6C85BF
Tritanopia (blue-blind)
#D6517D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce42c3;
/* rgb */ color: rgb(206, 66, 195);
/* oklch */ color: oklch(62.3% 0.224 331.2);
Tailwind
colors: {
  custom: {
    50: '#e182d5',
    500: '#ce42c3',
    950: '#000000',
  },
}
SCSS
$custom: #ce42c3;
$custom-light: #e182d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42c3",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 304.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62341,
    "c": 0.22418,
    "h": 331.2
  },
  "luminance": 0.20958
}

Semantic roles & 50–950 ramp

primary
#CE42C3
secondary
#98D49D
accent
#E25246
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE42C3

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

Preview Lab → · Contrast checker → · Palette generator →

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