#CE51CB#CE51CB

#CE51CB is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.211 H 328.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CE51CB
RGBrgb(206, 81, 203)
HSLhsl(301, 56%, 56%)
HSVhsv(301, 61%, 81%)
CMYKcmyk(0%, 60.7%, 1.5%, 19.2%)
CIE-LABlab(55.40, 64.34, -39.88)
CIE-LCHlch(55.40, 75.69, 328.21°)
OKLaboklab(64.28% 0.1804 -0.1099)
OKLCHoklch(64.28% 0.211 328.7)
XYZxyz(39.1751, 23.3211, 58.9264)
Luminance0.2332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51CB #51CE54
analogous
#9351CE #CE51CB #CE518D
triadic
#CE51CB #CBCE51 #51CBCE
tetradic
#CE51CB #CE9351 #51CE54 #518DCE
square
#CE51CB #CE9351 #51CE54 #518DCE
split-complementary
#CE51CB #8DCE51 #51CE93
monochromatic
#80247E #B032AD #CE51CB #DB81D9 #E9B1E8

Accessibility & contrast

On white

3.71
#CE51CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CE51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51CB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51CB#FFFFFF#000000##000000
##CE51CB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#D46087
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ce51cb;
/* rgb */ color: rgb(206, 81, 203);
/* oklch */ color: oklch(64.3% 0.211 328.7);
Tailwind
colors: {
  custom: {
    50: '#e08adb',
    500: '#ce51cb',
    950: '#000000',
  },
}
SCSS
$custom: #ce51cb;
$custom-light: #e08adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51cb",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 301.44,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64277,
    "c": 0.21118,
    "h": 328.7
  },
  "luminance": 0.23318
}

Semantic roles & 50–950 ramp

primary
#CE51CB
secondary
#A4D7A5
accent
#DF4C48
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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