#CE51BD#CE51BD

#CE51BD is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.6% C 0.200 H 333.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CE51BD
RGBrgb(206, 81, 189)
HSLhsl(308, 56%, 56%)
HSVhsv(308, 61%, 81%)
CMYKcmyk(0%, 60.7%, 8.3%, 19.2%)
CIE-LABlab(54.74, 62.05, -32.87)
CIE-LCHlch(54.74, 70.22, 332.09°)
OKLaboklab(63.58% 0.1788 -0.0897)
OKLCHoklch(63.58% 0.2 333.4)
XYZxyz(37.5814, 22.6836, 50.5332)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51BD #51CE62
analogous
#A151CE #CE51BD #CE517F
triadic
#CE51BD #BDCE51 #51BDCE
tetradic
#CE51BD #CEA151 #51CE62 #517FCE
square
#CE51BD #CEA151 #51CE62 #517FCE
split-complementary
#CE51BD #7FCE51 #51CEA1
monochromatic
#802474 #B0329F #CE51BD #DB81CF #E9B1E1

Accessibility & contrast

On white

3.79
#CE51BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CE51BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51BD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51BD#FFFFFF#000000##000000
##CE51BD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#768ABA
Tritanopia (blue-blind)
#D75A80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ce51bd;
/* rgb */ color: rgb(206, 81, 189);
/* oklch */ color: oklch(63.6% 0.200 333.4);
Tailwind
colors: {
  custom: {
    50: '#e089d1',
    500: '#ce51bd',
    950: '#000000',
  },
}
SCSS
$custom: #ce51bd;
$custom-light: #e089d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51bd",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 308.16,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63584,
    "c": 0.20007,
    "h": 333.4
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#CE51BD
secondary
#A4D7AB
accent
#DF5D48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CE51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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