#CE51EA#CE51EA

#CE51EA is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.0% C 0.237 H 319.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CE51EA
RGBrgb(206, 81, 234)
HSLhsl(289, 78%, 62%)
HSVhsv(289, 65%, 92%)
CMYKcmyk(12%, 65.4%, 0%, 8.2%)
CIE-LABlab(57.03, 69.80, -54.84)
CIE-LCHlch(57.03, 88.76, 321.85°)
OKLaboklab(65.98% 0.1813 -0.1533)
OKLCHoklch(65.98% 0.237 319.8)
XYZxyz(43.2455, 24.9492, 80.3637)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51EA #6DEA51
analogous
#8251EA #CE51EA #EA51B9
triadic
#CE51EA #EACE51 #51EACE
tetradic
#CE51EA #EA8251 #6DEA51 #51B9EA
square
#CE51EA #EA8251 #6DEA51 #51B9EA
split-complementary
#CE51EA #B9EA51 #51EA82
monochromatic
#9015AC #BE1BE2 #CE51EA #DD88F1 #EDBEF7

Accessibility & contrast

On white

3.51
#CE51EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CE51EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51EA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51EA#FFFFFF#000000##000000
##CE51EA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D80EF
Deuteranopia (green-blind)
#5D8DE6
Tritanopia (blue-blind)
#CF6C97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ce51ea;
/* rgb */ color: rgb(206, 81, 234);
/* oklch */ color: oklch(66.0% 0.237 319.8);
Tailwind
colors: {
  custom: {
    50: '#e18af1',
    500: '#ce51ea',
    950: '#000000',
  },
}
SCSS
$custom: #ce51ea;
$custom-light: #e18af1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51ea",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 289.02,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65978,
    "c": 0.23747,
    "h": 319.8
  },
  "luminance": 0.24947
}

Semantic roles & 50–950 ramp

primary
#CE51EA
secondary
#B9E8AF
accent
#DB0B31
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #CE51EA

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

Preview Lab → · Contrast checker → · Palette generator →

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