#CE40D5#CE40D5

#CE40D5 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.1% C 0.240 H 325.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CE40D5
RGBrgb(206, 64, 213)
HSLhsl(297, 64%, 54%)
HSVhsv(297, 70%, 84%)
CMYKcmyk(3.3%, 70%, 0%, 16.5%)
CIE-LABlab(53.59, 72.51, -48.44)
CIE-LCHlch(53.59, 87.20, 326.25°)
OKLaboklab(63.14% 0.199 -0.1346)
OKLCHoklch(63.14% 0.24 325.9)
XYZxyz(39.2964, 21.5953, 65.0364)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40D5 #47D540
analogous
#8440D5 #CE40D5 #D54092
triadic
#CE40D5 #D5CE40 #40D5CE
tetradic
#CE40D5 #D58440 #47D540 #4092D5
square
#CE40D5 #D58440 #47D540 #4092D5
split-complementary
#CE40D5 #92D540 #40D584
monochromatic
#7A1C7F #AA27B1 #CE40D5 #DB72E0 #E8A4EB

Accessibility & contrast

On white

3.95
#CE40D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CE40D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40D5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40D5#FFFFFF#000000##000000
##CE40D51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C75D9
Deuteranopia (green-blind)
#6186D1
Tritanopia (blue-blind)
#D35887
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ce40d5;
/* rgb */ color: rgb(206, 64, 213);
/* oklch */ color: oklch(63.1% 0.240 325.9);
Tailwind
colors: {
  custom: {
    50: '#e181e2',
    500: '#ce40d5',
    950: '#000000',
  },
}
SCSS
$custom: #ce40d5;
$custom-light: #e181e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40d5",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 297.181,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63139,
    "c": 0.24026,
    "h": 325.9
  },
  "luminance": 0.21593
}

Semantic roles & 50–950 ramp

primary
#CE40D5
secondary
#9CD899
accent
#E74149
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE40D5

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

Preview Lab → · Contrast checker → · Palette generator →

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