#CE42BD#CE42BD

#CE42BD is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.0% C 0.220 H 333.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CE42BD
RGBrgb(206, 66, 189)
HSLhsl(307, 59%, 53%)
HSVhsv(307, 68%, 81%)
CMYKcmyk(0%, 68%, 8.3%, 19.2%)
CIE-LABlab(52.61, 67.97, -36.21)
CIE-LCHlch(52.61, 77.01, 331.96°)
OKLaboklab(62.04% 0.1961 -0.0992)
OKLCHoklch(62.04% 0.22 333.2)
XYZxyz(36.5873, 20.6953, 50.2019)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42BD #42CE53
analogous
#9942CE #CE42BD #CE4277
triadic
#CE42BD #BDCE42 #42BDCE
tetradic
#CE42BD #CE9942 #42CE53 #4277CE
square
#CE42BD #CE9942 #42CE53 #4277CE
split-complementary
#CE42BD #77CE42 #42CE99
monochromatic
#771F6C #A72B98 #CE42BD #DB73CE #E7A3DF

Accessibility & contrast

On white

4.09
#CE42BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CE42BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42BD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42BD#FFFFFF#000000##000000
##CE42BD1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C1
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#D74F7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce42bd;
/* rgb */ color: rgb(206, 66, 189);
/* oklch */ color: oklch(62.0% 0.220 333.2);
Tailwind
colors: {
  custom: {
    50: '#e182d1',
    500: '#ce42bd',
    950: '#000000',
  },
}
SCSS
$custom: #ce42bd;
$custom-light: #e182d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42bd",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 307.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62035,
    "c": 0.21974,
    "h": 333.2
  },
  "luminance": 0.20692
}

Semantic roles & 50–950 ramp

primary
#CE42BD
secondary
#98D49F
accent
#E25946
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CE42BD

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

Preview Lab → · Contrast checker → · Palette generator →

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