#CE40C9#CE40C9

#CE40C9 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.5% C 0.231 H 329.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CE40C9
RGBrgb(206, 64, 201)
HSLhsl(302, 59%, 53%)
HSVhsv(302, 69%, 81%)
CMYKcmyk(0%, 68.9%, 2.4%, 19.2%)
CIE-LABlab(52.96, 70.55, -42.59)
CIE-LCHlch(52.96, 82.41, 328.89°)
OKLaboklab(62.48% 0.1989 -0.1176)
OKLCHoklch(62.48% 0.231 329.4)
XYZxyz(37.8293, 21.0084, 57.3096)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40C9 #40CE45
analogous
#8C40CE #CE40C9 #CE4082
triadic
#CE40C9 #C9CE40 #40C9CE
tetradic
#CE40C9 #CE8C40 #40CE45 #4082CE
square
#CE40C9 #CE8C40 #40CE45 #4082CE
split-complementary
#CE40C9 #82CE40 #40CE8C
monochromatic
#751E72 #A62BA2 #CE40C9 #DA71D7 #E7A1E5

Accessibility & contrast

On white

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

On black

5.20
#CE40C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40C9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40C9#FFFFFF#000000##000000
##CE40C91.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CD
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#D55380
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce40c9;
/* rgb */ color: rgb(206, 64, 201);
/* oklch */ color: oklch(62.5% 0.231 329.4);
Tailwind
colors: {
  custom: {
    50: '#e181da',
    500: '#ce40c9',
    950: '#000000',
  },
}
SCSS
$custom: #ce40c9;
$custom-light: #e181da;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40c9",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 302.113,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62477,
    "c": 0.23103,
    "h": 329.4
  },
  "luminance": 0.21006
}

Semantic roles & 50–950 ramp

primary
#CE40C9
secondary
#96D498
accent
#E24B45
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE40C9

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

Preview Lab → · Contrast checker → · Palette generator →

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