#CE51C2#CE51C2

#CE51C2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.8% C 0.204 H 331.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CE51C2
RGBrgb(206, 81, 194)
HSLhsl(306, 56%, 56%)
HSVhsv(306, 61%, 81%)
CMYKcmyk(0%, 60.7%, 5.8%, 19.2%)
CIE-LABlab(54.97, 62.85, -35.39)
CIE-LCHlch(54.97, 72.13, 330.62°)
OKLaboklab(63.83% 0.1795 -0.097)
OKLCHoklch(63.83% 0.204 331.6)
XYZxyz(38.1335, 22.9045, 53.4410)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51C2 #51CE5D
analogous
#9C51CE #CE51C2 #CE5184
triadic
#CE51C2 #C2CE51 #51C2CE
tetradic
#CE51C2 #CE9C51 #51CE5D #5184CE
square
#CE51C2 #CE9C51 #51CE5D #5184CE
split-complementary
#CE51C2 #84CE51 #51CE9C
monochromatic
#802478 #B032A4 #CE51C2 #DB81D3 #E9B1E3

Accessibility & contrast

On white

3.76
#CE51C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CE51C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51C2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51C2#FFFFFF#000000##000000
##CE51C21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#D65C82
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ce51c2;
/* rgb */ color: rgb(206, 81, 194);
/* oklch */ color: oklch(63.8% 0.204 331.6);
Tailwind
colors: {
  custom: {
    50: '#e089d5',
    500: '#ce51c2',
    950: '#000000',
  },
}
SCSS
$custom: #ce51c2;
$custom-light: #e089d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51c2",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 305.76,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63826,
    "c": 0.20397,
    "h": 331.6
  },
  "luminance": 0.22902
}

Semantic roles & 50–950 ramp

primary
#CE51C2
secondary
#A4D7A9
accent
#DF5748
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CE51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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