#CE40C3#CE40C3

#CE40C3 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.2% C 0.227 H 331.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CE40C3
RGBrgb(206, 64, 195)
HSLhsl(305, 59%, 53%)
HSVhsv(305, 69%, 81%)
CMYKcmyk(0%, 68.9%, 5.3%, 19.2%)
CIE-LABlab(52.65, 69.61, -39.61)
CIE-LCHlch(52.65, 80.09, 330.36°)
OKLaboklab(62.16% 0.1986 -0.109)
OKLCHoklch(62.16% 0.227 331.2)
XYZxyz(37.1373, 20.7316, 53.6648)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40C3 #40CE4B
analogous
#9240CE #CE40C3 #CE407C
triadic
#CE40C3 #C3CE40 #40C3CE
tetradic
#CE40C3 #CE9240 #40CE4B #407CCE
square
#CE40C3 #CE9240 #40CE4B #407CCE
split-complementary
#CE40C3 #7CCE40 #40CE92
monochromatic
#751E6F #A62B9D #CE40C3 #DA71D2 #E7A1E2

Accessibility & contrast

On white

4.08
#CE40C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CE40C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40C3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40C3#FFFFFF#000000##000000
##CE40C31.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3571C7
Deuteranopia (green-blind)
#6B85BF
Tritanopia (blue-blind)
#D6507D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce40c3;
/* rgb */ color: rgb(206, 64, 195);
/* oklch */ color: oklch(62.2% 0.227 331.2);
Tailwind
colors: {
  custom: {
    50: '#e181d5',
    500: '#ce40c3',
    950: '#000000',
  },
}
SCSS
$custom: #ce40c3;
$custom-light: #e181d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40c3",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 304.648,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62159,
    "c": 0.22653,
    "h": 331.2
  },
  "luminance": 0.20729
}

Semantic roles & 50–950 ramp

primary
#CE40C3
secondary
#96D49B
accent
#E25245
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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