#CE40C0#CE40C0

#CE40C0 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.0% C 0.224 H 332.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CE40C0
RGBrgb(206, 64, 192)
HSLhsl(306, 59%, 53%)
HSVhsv(306, 69%, 81%)
CMYKcmyk(0%, 68.9%, 6.8%, 19.2%)
CIE-LABlab(52.51, 69.14, -38.11)
CIE-LCHlch(52.51, 78.95, 331.14°)
OKLaboklab(62% 0.1984 -0.1046)
OKLCHoklch(62% 0.224 332.2)
XYZxyz(36.8015, 20.5973, 51.8964)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40C0 #40CE4E
analogous
#9540CE #CE40C0 #CE4079
triadic
#CE40C0 #C0CE40 #40C0CE
tetradic
#CE40C0 #CE9540 #40CE4E #4079CE
square
#CE40C0 #CE9540 #40CE4E #4079CE
split-complementary
#CE40C0 #79CE40 #40CE95
monochromatic
#751E6D #A62B9A #CE40C0 #DA71D0 #E7A1E0

Accessibility & contrast

On white

4.10
#CE40C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CE40C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40C0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40C0#FFFFFF#000000##000000
##CE40C01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3870C4
Deuteranopia (green-blind)
#6C84BC
Tritanopia (blue-blind)
#D74E7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ce40c0;
/* rgb */ color: rgb(206, 64, 192);
/* oklch */ color: oklch(62.0% 0.224 332.2);
Tailwind
colors: {
  custom: {
    50: '#e181d3',
    500: '#ce40c0',
    950: '#000000',
  },
}
SCSS
$custom: #ce40c0;
$custom-light: #e181d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40c0",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 305.915,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.22431,
    "h": 332.2
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#CE40C0
secondary
#96D49C
accent
#E25545
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE40C0

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

Preview Lab → · Contrast checker → · Palette generator →

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