#CE40CD#CE40CD

#CE40CD is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.7% C 0.234 H 328.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CE40CD
RGBrgb(206, 64, 205)
HSLhsl(300, 59%, 53%)
HSVhsv(300, 69%, 81%)
CMYKcmyk(0%, 68.9%, 0.5%, 19.2%)
CIE-LABlab(53.17, 71.20, -44.55)
CIE-LCHlch(53.17, 83.99, 327.96°)
OKLaboklab(62.69% 0.199 -0.1233)
OKLCHoklch(62.69% 0.234 328.2)
XYZxyz(38.3060, 21.1991, 59.8200)
Luminance0.2120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40CD #40CE41
analogous
#8840CE #CE40CD #CE4086
triadic
#CE40CD #CDCE40 #40CDCE
tetradic
#CE40CD #CE8840 #40CE41 #4086CE
square
#CE40CD #CE8840 #40CE41 #4086CE
split-complementary
#CE40CD #86CE40 #40CE88
monochromatic
#751E75 #A62BA5 #CE40CD #DA71DA #E7A1E6

Accessibility & contrast

On white

4.01
#CE40CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CE40CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40CD#FFFFFF#000000##000000
##CE40CD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#6685C9
Tritanopia (blue-blind)
#D45482
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ce40cd;
/* rgb */ color: rgb(206, 64, 205);
/* oklch */ color: oklch(62.7% 0.234 328.2);
Tailwind
colors: {
  custom: {
    50: '#e181dd',
    500: '#ce40cd',
    950: '#000000',
  },
}
SCSS
$custom: #ce40cd;
$custom-light: #e181dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40cd",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 300.423,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62694,
    "c": 0.23407,
    "h": 328.2
  },
  "luminance": 0.21196
}

Semantic roles & 50–950 ramp

primary
#CE40CD
secondary
#96D497
accent
#E24745
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE40CD

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

Preview Lab → · Contrast checker → · Palette generator →

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