#CE51BC#CE51BC

#CE51BC is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.5% C 0.199 H 333.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CE51BC
RGBrgb(206, 81, 188)
HSLhsl(309, 56%, 56%)
HSVhsv(309, 61%, 81%)
CMYKcmyk(0%, 60.7%, 8.7%, 19.2%)
CIE-LABlab(54.70, 61.89, -32.37)
CIE-LCHlch(54.70, 69.84, 332.39°)
OKLaboklab(63.54% 0.1787 -0.0883)
OKLCHoklch(63.54% 0.199 333.7)
XYZxyz(37.4733, 22.6404, 49.9636)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51BC #51CE63
analogous
#A251CE #CE51BC #CE517E
triadic
#CE51BC #BCCE51 #51BCCE
tetradic
#CE51BC #CEA251 #51CE63 #517ECE
square
#CE51BC #CEA251 #51CE63 #517ECE
split-complementary
#CE51BC #7ECE51 #51CEA2
monochromatic
#802473 #B0329E #CE51BC #DB81CE #E9B1E1

Accessibility & contrast

On white

3.80
#CE51BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CE51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51BC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51BC#FFFFFF#000000##000000
##CE51BC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#7789B9
Tritanopia (blue-blind)
#D75A7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ce51bc;
/* rgb */ color: rgb(206, 81, 188);
/* oklch */ color: oklch(63.5% 0.199 333.7);
Tailwind
colors: {
  custom: {
    50: '#e089d0',
    500: '#ce51bc',
    950: '#000000',
  },
}
SCSS
$custom: #ce51bc;
$custom-light: #e089d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51bc",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 308.64,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63537,
    "c": 0.1993,
    "h": 333.7
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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