#CE51E1#CE51E1

#CE51E1 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.230 H 322.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CE51E1
RGBrgb(206, 81, 225)
HSLhsl(292, 71%, 60%)
HSVhsv(292, 64%, 88%)
CMYKcmyk(8.4%, 64%, 0%, 11.8%)
CIE-LABlab(56.53, 68.16, -50.57)
CIE-LCHlch(56.53, 84.87, 323.43°)
OKLaboklab(65.46% 0.1814 -0.1409)
OKLCHoklch(65.46% 0.23 322.2)
XYZxyz(41.9852, 24.4451, 73.7265)
Luminance0.2444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51E1 #64E151
analogous
#8651E1 #CE51E1 #E151AC
triadic
#CE51E1 #E1CE51 #51E1CE
tetradic
#CE51E1 #E18651 #64E151 #51ACE1
square
#CE51E1 #E18651 #64E151 #51ACE1
split-complementary
#CE51E1 #ACE151 #51E186
monochromatic
#8B1B9D #BA24D1 #CE51E1 #DD85EA #EBB9F3

Accessibility & contrast

On white

3.57
#CE51E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CE51E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51E1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51E1#FFFFFF#000000##000000
##CE51E11.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7EE5
Deuteranopia (green-blind)
#638CDD
Tritanopia (blue-blind)
#D06892
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ce51e1;
/* rgb */ color: rgb(206, 81, 225);
/* oklch */ color: oklch(65.5% 0.230 322.2);
Tailwind
colors: {
  custom: {
    50: '#e08aeb',
    500: '#ce51e1',
    950: '#000000',
  },
}
SCSS
$custom: #ce51e1;
$custom-light: #e08aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51e1",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 292.083,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.65461,
    "c": 0.22966,
    "h": 322.2
  },
  "luminance": 0.24443
}

Semantic roles & 50–950 ramp

primary
#CE51E1
secondary
#B2E3AB
accent
#ED3A52
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CE51E1

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

Preview Lab → · Contrast checker → · Palette generator →

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