#CE51D2#CE51D2

#CE51D2 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.217 H 326.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CE51D2
RGBrgb(206, 81, 210)
HSLhsl(298, 59%, 57%)
HSVhsv(298, 61%, 82%)
CMYKcmyk(1.9%, 61.4%, 0%, 17.6%)
CIE-LABlab(55.75, 65.52, -43.32)
CIE-LCHlch(55.75, 78.55, 326.53°)
OKLaboklab(64.64% 0.1809 -0.1198)
OKLCHoklch(64.64% 0.217 326.5)
XYZxyz(40.0281, 23.6623, 63.4192)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51D2 #55D251
analogous
#8E51D2 #CE51D2 #D25195
triadic
#CE51D2 #D2CE51 #51D2CE
tetradic
#CE51D2 #D28E51 #55D251 #5195D2
square
#CE51D2 #D28E51 #55D251 #5195D2
split-complementary
#CE51D2 #95D251 #51D28E
monochromatic
#832386 #B22FB7 #CE51D2 #DC82DF #E9B2EB

Accessibility & contrast

On white

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

On black

5.73
#CE51D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51D2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51D2#FFFFFF#000000##000000
##CE51D21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#6C8BCF
Tritanopia (blue-blind)
#D3628A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ce51d2;
/* rgb */ color: rgb(206, 81, 210);
/* oklch */ color: oklch(64.6% 0.217 326.5);
Tailwind
colors: {
  custom: {
    50: '#e08ae0',
    500: '#ce51d2',
    950: '#000000',
  },
}
SCSS
$custom: #ce51d2;
$custom-light: #e08ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51d2",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 298.14,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64641,
    "c": 0.21695,
    "h": 326.5
  },
  "luminance": 0.2366
}

Semantic roles & 50–950 ramp

primary
#CE51D2
secondary
#A7DAA5
accent
#E2464B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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