#CE40C8#CE40C8

#CE40C8 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.4% C 0.230 H 329.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CE40C8
RGBrgb(206, 64, 200)
HSLhsl(303, 59%, 53%)
HSVhsv(303, 69%, 81%)
CMYKcmyk(0%, 68.9%, 2.9%, 19.2%)
CIE-LABlab(52.91, 70.40, -42.09)
CIE-LCHlch(52.91, 82.02, 329.12°)
OKLaboklab(62.42% 0.1988 -0.1161)
OKLCHoklch(62.42% 0.23 329.7)
XYZxyz(37.7121, 20.9615, 56.6921)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40C8 #40CE46
analogous
#8D40CE #CE40C8 #CE4081
triadic
#CE40C8 #C8CE40 #40C8CE
tetradic
#CE40C8 #CE8D40 #40CE46 #4081CE
square
#CE40C8 #CE8D40 #40CE46 #4081CE
split-complementary
#CE40C8 #81CE40 #40CE8D
monochromatic
#751E72 #A62BA1 #CE40C8 #DA71D6 #E7A1E4

Accessibility & contrast

On white

4.04
#CE40C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CE40C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40C8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40C8#FFFFFF#000000##000000
##CE40C81.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#6885C4
Tritanopia (blue-blind)
#D5527F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce40c8;
/* rgb */ color: rgb(206, 64, 200);
/* oklch */ color: oklch(62.4% 0.230 329.7);
Tailwind
colors: {
  custom: {
    50: '#e181d9',
    500: '#ce40c8',
    950: '#000000',
  },
}
SCSS
$custom: #ce40c8;
$custom-light: #e181d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40c8",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 302.535,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62423,
    "c": 0.23027,
    "h": 329.7
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#CE40C8
secondary
#96D499
accent
#E24C45
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE40C8

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

Preview Lab → · Contrast checker → · Palette generator →

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