#CE51CC#CE51CC

#CE51CC is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.3% C 0.212 H 328.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CE51CC
RGBrgb(206, 81, 204)
HSLhsl(301, 56%, 56%)
HSVhsv(301, 61%, 81%)
CMYKcmyk(0%, 60.7%, 1%, 19.2%)
CIE-LABlab(55.45, 64.50, -40.37)
CIE-LCHlch(55.45, 76.10, 327.96°)
OKLaboklab(64.33% 0.1804 -0.1113)
OKLCHoklch(64.33% 0.212 328.3)
XYZxyz(39.2946, 23.3689, 59.5560)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51CC #51CE53
analogous
#9251CE #CE51CC #CE518E
triadic
#CE51CC #CCCE51 #51CCCE
tetradic
#CE51CC #CE9251 #51CE53 #518ECE
square
#CE51CC #CE9251 #51CE53 #518ECE
split-complementary
#CE51CC #8ECE51 #51CE92
monochromatic
#80247F #B032AE #CE51CC #DB81DA #E9B1E8

Accessibility & contrast

On white

3.70
#CE51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CE51CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51CC#FFFFFF#000000##000000
##CE51CC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#6F8BC9
Tritanopia (blue-blind)
#D46087
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ce51cc;
/* rgb */ color: rgb(206, 81, 204);
/* oklch */ color: oklch(64.3% 0.212 328.3);
Tailwind
colors: {
  custom: {
    50: '#e08adc',
    500: '#ce51cc',
    950: '#000000',
  },
}
SCSS
$custom: #ce51cc;
$custom-light: #e08adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51cc",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 300.96,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64328,
    "c": 0.212,
    "h": 328.3
  },
  "luminance": 0.23366
}

Semantic roles & 50–950 ramp

primary
#CE51CC
secondary
#A4D7A4
accent
#DF4B48
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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