#CE40D9#CE40D9

#CE40D9 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.4% C 0.243 H 324.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CE40D9
RGBrgb(206, 64, 217)
HSLhsl(296, 67%, 55%)
HSVhsv(296, 71%, 85%)
CMYKcmyk(5.1%, 70.5%, 0%, 14.9%)
CIE-LABlab(53.82, 73.17, -50.37)
CIE-LCHlch(53.82, 88.83, 325.46°)
OKLaboklab(63.37% 0.199 -0.1402)
OKLCHoklch(63.37% 0.243 324.8)
XYZxyz(39.8104, 21.8009, 67.7433)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40D9 #4BD940
analogous
#8140D9 #CE40D9 #D94098
triadic
#CE40D9 #D9CE40 #40D9CE
tetradic
#CE40D9 #D98140 #4BD940 #4098D9
square
#CE40D9 #D98140 #4BD940 #4098D9
split-complementary
#CE40D9 #98D940 #40D981
monochromatic
#7D1A84 #AD24B7 #CE40D9 #DB73E3 #E8A6ED

Accessibility & contrast

On white

3.92
#CE40D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CE40D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40D9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40D9#FFFFFF#000000##000000
##CE40D91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1176DD
Deuteranopia (green-blind)
#5E86D5
Tritanopia (blue-blind)
#D25A89
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ce40d9;
/* rgb */ color: rgb(206, 64, 217);
/* oklch */ color: oklch(63.4% 0.243 324.8);
Tailwind
colors: {
  custom: {
    50: '#e182e5',
    500: '#ce40d9',
    950: '#000000',
  },
}
SCSS
$custom: #ce40d9;
$custom-light: #e182e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40d9",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 295.686,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63368,
    "c": 0.24339,
    "h": 324.8
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#CE40D9
secondary
#9FDA9A
accent
#EA3E4A
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CE40D9

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

Preview Lab → · Contrast checker → · Palette generator →

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