#CE40CE#CE40CE

#CE40CE is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.7% C 0.235 H 327.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CE40CE
RGBrgb(206, 64, 206)
HSLhsl(300, 59%, 53%)
HSVhsv(300, 69%, 81%)
CMYKcmyk(0%, 68.9%, 0%, 19.2%)
CIE-LABlab(53.22, 71.36, -45.04)
CIE-LCHlch(53.22, 84.38, 327.74°)
OKLaboklab(62.75% 0.199 -0.1247)
OKLCHoklch(62.75% 0.235 327.9)
XYZxyz(38.4271, 21.2475, 60.4578)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40CE #40CE40
analogous
#8740CE #CE40CE #CE4087
triadic
#CE40CE #CECE40 #40CECE
tetradic
#CE40CE #CE8740 #40CE40 #4087CE
square
#CE40CE #CE8740 #40CE40 #4087CE
split-complementary
#CE40CE #87CE40 #40CE87
monochromatic
#751E75 #A62BA6 #CE40CE #DA71DA #E7A1E7

Accessibility & contrast

On white

4.00
#CE40CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CE40CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40CE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40CE#FFFFFF#000000##000000
##CE40CE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2873D2
Deuteranopia (green-blind)
#6586CA
Tritanopia (blue-blind)
#D45583
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ce40ce;
/* rgb */ color: rgb(206, 64, 206);
/* oklch */ color: oklch(62.7% 0.235 327.9);
Tailwind
colors: {
  custom: {
    50: '#e181dd',
    500: '#ce40ce',
    950: '#000000',
  },
}
SCSS
$custom: #ce40ce;
$custom-light: #e181dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40ce",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 300,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62749,
    "c": 0.23484,
    "h": 327.9
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#CE40CE
secondary
#96D496
accent
#E24545
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE40CE

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

Preview Lab → · Contrast checker → · Palette generator →

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