#CE51BF#CE51BF

#CE51BF is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.7% C 0.202 H 332.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CE51BF
RGBrgb(206, 81, 191)
HSLhsl(307, 56%, 56%)
HSVhsv(307, 61%, 81%)
CMYKcmyk(0%, 60.7%, 7.3%, 19.2%)
CIE-LABlab(54.84, 62.37, -33.88)
CIE-LCHlch(54.84, 70.98, 331.49°)
OKLaboklab(63.68% 0.1791 -0.0926)
OKLCHoklch(63.68% 0.202 332.6)
XYZxyz(37.8000, 22.7711, 51.6845)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51BF #51CE60
analogous
#9F51CE #CE51BF #CE5181
triadic
#CE51BF #BFCE51 #51BFCE
tetradic
#CE51BF #CE9F51 #51CE60 #5181CE
square
#CE51BF #CE9F51 #51CE60 #5181CE
split-complementary
#CE51BF #81CE51 #51CE9F
monochromatic
#802475 #B032A1 #CE51BF #DB81D1 #E9B1E2

Accessibility & contrast

On white

3.78
#CE51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CE51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51BF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51BF#FFFFFF#000000##000000
##CE51BF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#758ABC
Tritanopia (blue-blind)
#D65B81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ce51bf;
/* rgb */ color: rgb(206, 81, 191);
/* oklch */ color: oklch(63.7% 0.202 332.6);
Tailwind
colors: {
  custom: {
    50: '#e089d2',
    500: '#ce51bf',
    950: '#000000',
  },
}
SCSS
$custom: #ce51bf;
$custom-light: #e089d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51bf",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 307.2,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6368,
    "c": 0.20162,
    "h": 332.6
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#CE51BF
secondary
#A4D7AA
accent
#DF5B48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CE51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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