#CE40C6#CE40C6

#CE40C6 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.3% C 0.229 H 330.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CE40C6
RGBrgb(206, 64, 198)
HSLhsl(303, 59%, 53%)
HSVhsv(303, 69%, 81%)
CMYKcmyk(0%, 68.9%, 3.9%, 19.2%)
CIE-LABlab(52.81, 70.08, -41.10)
CIE-LCHlch(52.81, 81.24, 329.61°)
OKLaboklab(62.32% 0.1988 -0.1133)
OKLCHoklch(62.32% 0.229 330.3)
XYZxyz(37.4799, 20.8687, 55.4692)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40C6 #40CE48
analogous
#8F40CE #CE40C6 #CE407F
triadic
#CE40C6 #C6CE40 #40C6CE
tetradic
#CE40C6 #CE8F40 #40CE48 #407FCE
square
#CE40C6 #CE8F40 #40CE48 #407FCE
split-complementary
#CE40C6 #7FCE40 #40CE8F
monochromatic
#751E71 #A62B9F #CE40C6 #DA71D5 #E7A1E3

Accessibility & contrast

On white

4.06
#CE40C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CE40C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40C6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40C6#FFFFFF#000000##000000
##CE40C61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3272CA
Deuteranopia (green-blind)
#6985C2
Tritanopia (blue-blind)
#D6517E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce40c6;
/* rgb */ color: rgb(206, 64, 198);
/* oklch */ color: oklch(62.3% 0.229 330.3);
Tailwind
colors: {
  custom: {
    50: '#e181d8',
    500: '#ce40c6',
    950: '#000000',
  },
}
SCSS
$custom: #ce40c6;
$custom-light: #e181d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40c6",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 303.38,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62317,
    "c": 0.22876,
    "h": 330.3
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#CE40C6
secondary
#96D49A
accent
#E24E45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE40C6

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

Preview Lab → · Contrast checker → · Palette generator →

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