#CE51C7#CE51C7

#CE51C7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.1% C 0.208 H 329.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CE51C7
RGBrgb(206, 81, 199)
HSLhsl(303, 56%, 56%)
HSVhsv(303, 61%, 81%)
CMYKcmyk(0%, 60.7%, 3.4%, 19.2%)
CIE-LABlab(55.21, 63.67, -37.89)
CIE-LCHlch(55.21, 74.09, 329.24°)
OKLaboklab(64.07% 0.18 -0.1041)
OKLCHoklch(64.07% 0.208 329.9)
XYZxyz(38.7045, 23.1329, 56.4483)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51C7 #51CE58
analogous
#9751CE #CE51C7 #CE5189
triadic
#CE51C7 #C7CE51 #51C7CE
tetradic
#CE51C7 #CE9751 #51CE58 #5189CE
square
#CE51C7 #CE9751 #51CE58 #5189CE
split-complementary
#CE51C7 #89CE51 #51CE97
monochromatic
#80247B #B032A9 #CE51C7 #DB81D6 #E9B1E6

Accessibility & contrast

On white

3.73
#CE51C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CE51C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51C7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51C7#FFFFFF#000000##000000
##CE51C71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#728AC4
Tritanopia (blue-blind)
#D55E85
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ce51c7;
/* rgb */ color: rgb(206, 81, 199);
/* oklch */ color: oklch(64.1% 0.208 329.9);
Tailwind
colors: {
  custom: {
    50: '#e089d8',
    500: '#ce51c7',
    950: '#000000',
  },
}
SCSS
$custom: #ce51c7;
$custom-light: #e089d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51c7",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 303.36,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64074,
    "c": 0.20795,
    "h": 329.9
  },
  "luminance": 0.2313
}

Semantic roles & 50–950 ramp

primary
#CE51C7
secondary
#A4D7A7
accent
#DF5148
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CE51C7

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

Preview Lab → · Contrast checker → · Palette generator →

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