#CE51ED#CE51ED

#CE51ED is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.2% C 0.240 H 319.0°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CE51ED
RGBrgb(206, 81, 237)
HSLhsl(288, 81%, 62%)
HSVhsv(288, 66%, 93%)
CMYKcmyk(13.1%, 65.8%, 0%, 7.1%)
CIE-LABlab(57.20, 70.35, -56.25)
CIE-LCHlch(57.20, 90.07, 321.36°)
OKLaboklab(66.15% 0.1813 -0.1574)
OKLCHoklch(66.15% 0.24 319)
XYZxyz(43.6801, 25.1231, 82.6528)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51ED #70ED51
analogous
#8051ED #CE51ED #ED51BE
triadic
#CE51ED #EDCE51 #51EDCE
tetradic
#CE51ED #ED8051 #70ED51 #51BEED
square
#CE51ED #ED8051 #70ED51 #51BEED
split-complementary
#CE51ED #BEED51 #51ED80
monochromatic
#9212B1 #BE1AE7 #CE51ED #DE88F3 #EDC0F8

Accessibility & contrast

On white

3.49
#CE51ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CE51ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51ED
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51ED#FFFFFF#000000##000000
##CE51ED1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1481F2
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#CE6D99
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ce51ed;
/* rgb */ color: rgb(206, 81, 237);
/* oklch */ color: oklch(66.2% 0.240 319.0);
Tailwind
colors: {
  custom: {
    50: '#e18bf3',
    500: '#ce51ed',
    950: '#000000',
  },
}
SCSS
$custom: #ce51ed;
$custom-light: #e18bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51ed",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 237
  },
  "hsl": {
    "h": 288.077,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.2401,
    "h": 319
  },
  "luminance": 0.25121
}

Semantic roles & 50–950 ramp

primary
#CE51ED
secondary
#BCE9B0
accent
#DE0832
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #CE51ED

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

Preview Lab → · Contrast checker → · Palette generator →

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