#CE51D3#CE51D3

#CE51D3 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.218 H 326.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CE51D3
RGBrgb(206, 81, 211)
HSLhsl(298, 60%, 57%)
HSVhsv(298, 62%, 83%)
CMYKcmyk(2.4%, 61.6%, 0%, 17.3%)
CIE-LABlab(55.80, 65.70, -43.81)
CIE-LCHlch(55.80, 78.96, 326.30°)
OKLaboklab(64.69% 0.1809 -0.1212)
OKLCHoklch(64.69% 0.218 326.2)
XYZxyz(40.1531, 23.7123, 64.0774)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51D3 #56D351
analogous
#8D51D3 #CE51D3 #D35197
triadic
#CE51D3 #D3CE51 #51D3CE
tetradic
#CE51D3 #D38D51 #56D351 #5197D3
square
#CE51D3 #D38D51 #56D351 #5197D3
split-complementary
#CE51D3 #97D351 #51D38D
monochromatic
#832287 #B32FB8 #CE51D3 #DC82DF #EAB3EC

Accessibility & contrast

On white

3.66
#CE51D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CE51D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51D3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51D3#FFFFFF#000000##000000
##CE51D31.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD7
Deuteranopia (green-blind)
#6C8BD0
Tritanopia (blue-blind)
#D3638B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ce51d3;
/* rgb */ color: rgb(206, 81, 211);
/* oklch */ color: oklch(64.7% 0.218 326.2);
Tailwind
colors: {
  custom: {
    50: '#e08ae1',
    500: '#ce51d3',
    950: '#000000',
  },
}
SCSS
$custom: #ce51d3;
$custom-light: #e08ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51d3",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 297.692,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64694,
    "c": 0.21779,
    "h": 326.2
  },
  "luminance": 0.2371
}

Semantic roles & 50–950 ramp

primary
#CE51D3
secondary
#A8DAA6
accent
#E3454B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE51D3

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

Preview Lab → · Contrast checker → · Palette generator →

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