#CE40D1#CE40D1

#CE40D1 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.9% C 0.237 H 327.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CE40D1
RGBrgb(206, 64, 209)
HSLhsl(299, 61%, 54%)
HSVhsv(299, 69%, 82%)
CMYKcmyk(1.4%, 69.4%, 0%, 18%)
CIE-LABlab(53.38, 71.85, -46.50)
CIE-LCHlch(53.38, 85.58, 327.09°)
OKLaboklab(62.92% 0.199 -0.1289)
OKLCHoklch(62.92% 0.237 327.1)
XYZxyz(38.7950, 21.3947, 62.3955)
Luminance0.2139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40D1 #43D140
analogous
#8540D1 #CE40D1 #D1408B
triadic
#CE40D1 #D1CE40 #40D1CE
tetradic
#CE40D1 #D18540 #43D140 #408BD1
square
#CE40D1 #D18540 #43D140 #408BD1
split-complementary
#CE40D1 #8BD140 #40D185
monochromatic
#771D79 #A829AB #CE40D1 #DB71DD #E7A3E9

Accessibility & contrast

On white

3.98
#CE40D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CE40D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40D1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40D1#FFFFFF#000000##000000
##CE40D11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2474D5
Deuteranopia (green-blind)
#6386CD
Tritanopia (blue-blind)
#D45684
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ce40d1;
/* rgb */ color: rgb(206, 64, 209);
/* oklch */ color: oklch(62.9% 0.237 327.1);
Tailwind
colors: {
  custom: {
    50: '#e181df',
    500: '#ce40d1',
    950: '#000000',
  },
}
SCSS
$custom: #ce40d1;
$custom-light: #e181df;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40d1",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 209
  },
  "hsl": {
    "h": 298.759,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62915,
    "c": 0.23714,
    "h": 327.1
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#CE40D1
secondary
#99D597
accent
#E44447
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE40D1

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

Preview Lab → · Contrast checker → · Palette generator →

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