#CE40D2#CE40D2

#CE40D2 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 63.0% C 0.238 H 326.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CE40D2
RGBrgb(206, 64, 210)
HSLhsl(298, 62%, 54%)
HSVhsv(298, 70%, 82%)
CMYKcmyk(1.9%, 69.5%, 0%, 17.6%)
CIE-LABlab(53.43, 72.01, -46.99)
CIE-LCHlch(53.43, 85.99, 326.87°)
OKLaboklab(62.97% 0.199 -0.1303)
OKLCHoklch(62.97% 0.238 326.8)
XYZxyz(38.9192, 21.4444, 63.0496)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40D2 #44D240
analogous
#8540D2 #CE40D2 #D2408D
triadic
#CE40D2 #D2CE40 #40D2CE
tetradic
#CE40D2 #D28540 #44D240 #408DD2
square
#CE40D2 #D28540 #44D240 #408DD2
split-complementary
#CE40D2 #8DD240 #40D285
monochromatic
#781D7B #A929AC #CE40D2 #DB72DE #E7A3E9

Accessibility & contrast

On white

3.97
#CE40D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CE40D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40D2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40D2#FFFFFF#000000##000000
##CE40D21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2274D6
Deuteranopia (green-blind)
#6386CE
Tritanopia (blue-blind)
#D45785
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ce40d2;
/* rgb */ color: rgb(206, 64, 210);
/* oklch */ color: oklch(63.0% 0.238 326.8);
Tailwind
colors: {
  custom: {
    50: '#e181e0',
    500: '#ce40d2',
    950: '#000000',
  },
}
SCSS
$custom: #ce40d2;
$custom-light: #e181e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40d2",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 298.356,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6297,
    "c": 0.23792,
    "h": 326.8
  },
  "luminance": 0.21442
}

Semantic roles & 50–950 ramp

primary
#CE40D2
secondary
#99D698
accent
#E54347
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE40D2

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

Preview Lab → · Contrast checker → · Palette generator →

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