#CE42BF#CE42BF

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

Color values

HEX#CE42BF
RGBrgb(206, 66, 191)
HSLhsl(306, 59%, 53%)
HSVhsv(306, 68%, 81%)
CMYKcmyk(0%, 68%, 7.3%, 19.2%)
CIE-LABlab(52.71, 68.28, -37.21)
CIE-LCHlch(52.71, 77.76, 331.41°)
OKLaboklab(62.14% 0.1963 -0.1021)
OKLCHoklch(62.14% 0.221 332.5)
XYZxyz(36.8059, 20.7828, 51.3531)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42BF #42CE51
analogous
#9742CE #CE42BF #CE4279
triadic
#CE42BF #BFCE42 #42BFCE
tetradic
#CE42BF #CE9742 #42CE51 #4279CE
square
#CE42BF #CE9742 #42CE51 #4279CE
split-complementary
#CE42BF #79CE42 #42CE97
monochromatic
#771F6D #A72B9A #CE42BF #DB73CF #E7A3E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE42BF#FFFFFF#000000##000000
##CE42BF1.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)
#3C71C3
Deuteranopia (green-blind)
#6E85BB
Tritanopia (blue-blind)
#D7507B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce42bf;
/* rgb */ color: rgb(206, 66, 191);
/* oklch */ color: oklch(62.1% 0.221 332.5);
Tailwind
colors: {
  custom: {
    50: '#e182d2',
    500: '#ce42bf',
    950: '#000000',
  },
}
SCSS
$custom: #ce42bf;
$custom-light: #e182d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42bf",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 306.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62136,
    "c": 0.22121,
    "h": 332.5
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#CE42BF
secondary
#98D49E
accent
#E25746
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CE42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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