#CE42C0#CE42C0

#CE42C0 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.2% C 0.222 H 332.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CE42C0
RGBrgb(206, 66, 192)
HSLhsl(306, 59%, 53%)
HSVhsv(306, 68%, 81%)
CMYKcmyk(0%, 68%, 6.8%, 19.2%)
CIE-LABlab(52.76, 68.43, -37.71)
CIE-LCHlch(52.76, 78.13, 331.14°)
OKLaboklab(62.19% 0.1963 -0.1035)
OKLCHoklch(62.19% 0.222 332.2)
XYZxyz(36.9163, 20.8269, 51.9346)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42C0 #42CE50
analogous
#9642CE #CE42C0 #CE427A
triadic
#CE42C0 #C0CE42 #42C0CE
tetradic
#CE42C0 #CE9642 #42CE50 #427ACE
square
#CE42C0 #CE9642 #42CE50 #427ACE
split-complementary
#CE42C0 #7ACE42 #42CE96
monochromatic
#771F6E #A72B9B #CE42C0 #DB73D0 #E7A3E0

Accessibility & contrast

On white

4.07
#CE42C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CE42C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42C0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42C0#FFFFFF#000000##000000
##CE42C01.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C4
Deuteranopia (green-blind)
#6D85BC
Tritanopia (blue-blind)
#D7507C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce42c0;
/* rgb */ color: rgb(206, 66, 192);
/* oklch */ color: oklch(62.2% 0.222 332.2);
Tailwind
colors: {
  custom: {
    50: '#e182d3',
    500: '#ce42c0',
    950: '#000000',
  },
}
SCSS
$custom: #ce42c0;
$custom-light: #e182d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42c0",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 306,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62187,
    "c": 0.22195,
    "h": 332.2
  },
  "luminance": 0.20824
}

Semantic roles & 50–950 ramp

primary
#CE42C0
secondary
#98D49E
accent
#E25546
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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