#CE40C1#CE40C1

#CE40C1 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.1% C 0.225 H 331.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CE40C1
RGBrgb(206, 64, 193)
HSLhsl(305, 59%, 53%)
HSVhsv(305, 69%, 81%)
CMYKcmyk(0%, 68.9%, 6.3%, 19.2%)
CIE-LABlab(52.56, 69.30, -38.61)
CIE-LCHlch(52.56, 79.33, 330.87°)
OKLaboklab(62.06% 0.1985 -0.1061)
OKLCHoklch(62.06% 0.225 331.9)
XYZxyz(36.9127, 20.6418, 52.4819)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40C1 #40CE4D
analogous
#9440CE #CE40C1 #CE407A
triadic
#CE40C1 #C1CE40 #40C1CE
tetradic
#CE40C1 #CE9440 #40CE4D #407ACE
square
#CE40C1 #CE9440 #40CE4D #407ACE
split-complementary
#CE40C1 #7ACE40 #40CE94
monochromatic
#751E6D #A62B9B #CE40C1 #DA71D1 #E7A1E1

Accessibility & contrast

On white

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

On black

5.13
#CE40C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40C1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40C1#FFFFFF#000000##000000
##CE40C11.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3771C5
Deuteranopia (green-blind)
#6C84BD
Tritanopia (blue-blind)
#D64F7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ce40c1;
/* rgb */ color: rgb(206, 64, 193);
/* oklch */ color: oklch(62.1% 0.225 331.9);
Tailwind
colors: {
  custom: {
    50: '#e181d4',
    500: '#ce40c1',
    950: '#000000',
  },
}
SCSS
$custom: #ce40c1;
$custom-light: #e181d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40c1",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 305.493,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62055,
    "c": 0.22505,
    "h": 331.9
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE40C1

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

Preview Lab → · Contrast checker → · Palette generator →

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