#CE54EA#CE54EA

#CE54EA is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.234 H 319.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CE54EA
RGBrgb(206, 84, 234)
HSLhsl(289, 78%, 62%)
HSVhsv(289, 64%, 92%)
CMYKcmyk(12%, 64.1%, 0%, 8.2%)
CIE-LABlab(57.47, 68.57, -54.13)
CIE-LCHlch(57.47, 87.36, 321.71°)
OKLaboklab(66.3% 0.1781 -0.1513)
OKLCHoklch(66.3% 0.234 319.6)
XYZxyz(43.4733, 25.4050, 80.4397)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE54EA #70EA54
analogous
#8354EA #CE54EA #EA54BB
triadic
#CE54EA #EACE54 #54EACE
tetradic
#CE54EA #EA8354 #70EA54 #54BBEA
square
#CE54EA #EA8354 #70EA54 #54BBEA
split-complementary
#CE54EA #BBEA54 #54EA83
monochromatic
#9215AE #BE1DE3 #CE54EA #DE8BF1 #EDC1F7

Accessibility & contrast

On white

3.45
#CE54EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CE54EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE54EA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE54EA#FFFFFF#000000##000000
##CE54EA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EE
Deuteranopia (green-blind)
#5F8EE6
Tritanopia (blue-blind)
#CF6E98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ce54ea;
/* rgb */ color: rgb(206, 84, 234);
/* oklch */ color: oklch(66.3% 0.234 319.6);
Tailwind
colors: {
  custom: {
    50: '#e18cf1',
    500: '#ce54ea',
    950: '#000000',
  },
}
SCSS
$custom: #ce54ea;
$custom-light: #e18cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce54ea",
  "rgb": {
    "r": 206,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 288.8,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66296,
    "c": 0.23365,
    "h": 319.6
  },
  "luminance": 0.25403
}

Semantic roles & 50–950 ramp

primary
#CE54EA
secondary
#BCE8B2
accent
#DA0B32
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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