#CE51DB#CE51DB

#CE51DB is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.1% C 0.225 H 323.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CE51DB
RGBrgb(206, 81, 219)
HSLhsl(294, 66%, 59%)
HSVhsv(294, 63%, 86%)
CMYKcmyk(5.9%, 63%, 0%, 14.1%)
CIE-LABlab(56.21, 67.09, -47.69)
CIE-LCHlch(56.21, 82.32, 324.59°)
OKLaboklab(65.13% 0.1813 -0.1325)
OKLCHoklch(65.13% 0.225 323.8)
XYZxyz(41.1811, 24.1235, 69.4913)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51DB #5EDB51
analogous
#8951DB #CE51DB #DB51A3
triadic
#CE51DB #DBCE51 #51DBCE
tetradic
#CE51DB #DB8951 #5EDB51 #51A3DB
square
#CE51DB #DB8951 #5EDB51 #51A3DB
split-complementary
#CE51DB #A3DB51 #51DB89
monochromatic
#881E93 #B729C6 #CE51DB #DC84E5 #EBB6F0

Accessibility & contrast

On white

3.61
#CE51DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CE51DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51DB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51DB#FFFFFF#000000##000000
##CE51DB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#678CD7
Tritanopia (blue-blind)
#D2668F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ce51db;
/* rgb */ color: rgb(206, 81, 219);
/* oklch */ color: oklch(65.1% 0.225 323.8);
Tailwind
colors: {
  custom: {
    50: '#e08ae7',
    500: '#ce51db',
    950: '#000000',
  },
}
SCSS
$custom: #ce51db;
$custom-light: #e08ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51db",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 294.348,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65127,
    "c": 0.22452,
    "h": 323.8
  },
  "luminance": 0.24121
}

Semantic roles & 50–950 ramp

primary
#CE51DB
secondary
#AEDFA9
accent
#E93F4F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CE51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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