#CE51BB#CE51BB

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

Color values

HEX#CE51BB
RGBrgb(206, 81, 187)
HSLhsl(309, 56%, 56%)
HSVhsv(309, 61%, 81%)
CMYKcmyk(0%, 60.7%, 9.2%, 19.2%)
CIE-LABlab(54.66, 61.73, -31.86)
CIE-LCHlch(54.66, 69.47, 332.70°)
OKLaboklab(63.49% 0.1785 -0.0868)
OKLCHoklch(63.49% 0.199 334.1)
XYZxyz(37.3658, 22.5974, 49.3978)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51BB #51CE64
analogous
#A351CE #CE51BB #CE517D
triadic
#CE51BB #BBCE51 #51BBCE
tetradic
#CE51BB #CEA351 #51CE64 #517DCE
square
#CE51BB #CEA351 #51CE64 #517DCE
split-complementary
#CE51BB #7DCE51 #51CEA3
monochromatic
#802472 #B0329D #CE51BB #DB81CE #E9B1E0

Accessibility & contrast

On white

3.81
#CE51BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CE51BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51BB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51BB#FFFFFF#000000##000000
##CE51BB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce51bb;
/* rgb */ color: rgb(206, 81, 187);
/* oklch */ color: oklch(63.5% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#e089cf',
    500: '#ce51bb',
    950: '#000000',
  },
}
SCSS
$custom: #ce51bb;
$custom-light: #e089cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51bb",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 309.12,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63489,
    "c": 0.19854,
    "h": 334.1
  },
  "luminance": 0.22595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE51BB

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

Preview Lab → · Contrast checker → · Palette generator →

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