#CE40D6#CE40D6

#CE40D6 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.2% C 0.241 H 325.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CE40D6
RGBrgb(206, 64, 214)
HSLhsl(297, 65%, 55%)
HSVhsv(297, 70%, 84%)
CMYKcmyk(3.7%, 70.1%, 0%, 16.1%)
CIE-LABlab(53.65, 72.67, -48.92)
CIE-LCHlch(53.65, 87.61, 326.05°)
OKLaboklab(63.2% 0.199 -0.136)
OKLCHoklch(63.2% 0.241 325.7)
XYZxyz(39.4237, 21.6462, 65.7069)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40D6 #48D640
analogous
#8340D6 #CE40D6 #D64093
triadic
#CE40D6 #D6CE40 #40D6CE
tetradic
#CE40D6 #D68340 #48D640 #4093D6
square
#CE40D6 #D68340 #48D640 #4093D6
split-complementary
#CE40D6 #93D640 #40D683
monochromatic
#7B1B80 #AB26B2 #CE40D6 #DB72E1 #E8A5EC

Accessibility & contrast

On white

3.94
#CE40D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CE40D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40D6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40D6#FFFFFF#000000##000000
##CE40D61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A75DA
Deuteranopia (green-blind)
#6086D2
Tritanopia (blue-blind)
#D35887
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ce40d6;
/* rgb */ color: rgb(206, 64, 214);
/* oklch */ color: oklch(63.2% 0.241 325.7);
Tailwind
colors: {
  custom: {
    50: '#e182e3',
    500: '#ce40d6',
    950: '#000000',
  },
}
SCSS
$custom: #ce40d6;
$custom-light: #e182e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40d6",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 214
  },
  "hsl": {
    "h": 296.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63196,
    "c": 0.24104,
    "h": 325.7
  },
  "luminance": 0.21644
}

Semantic roles & 50–950 ramp

primary
#CE40D6
secondary
#9DD999
accent
#E84049
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160B15
muted
#847C84

Preview Lab

Preview with #CE40D6

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

Preview Lab → · Contrast checker → · Palette generator →

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