#CE51D9#CE51D9

#CE51D9 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.223 H 324.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CE51D9
RGBrgb(206, 81, 217)
HSLhsl(295, 64%, 58%)
HSVhsv(295, 63%, 85%)
CMYKcmyk(5.1%, 62.7%, 0%, 14.9%)
CIE-LABlab(56.11, 66.74, -46.73)
CIE-LCHlch(56.11, 81.47, 325.00°)
OKLaboklab(65.02% 0.1812 -0.1297)
OKLCHoklch(65.02% 0.223 324.4)
XYZxyz(40.9194, 24.0188, 68.1130)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51D9 #5CD951
analogous
#8A51D9 #CE51D9 #D951A0
triadic
#CE51D9 #D9CE51 #51D9CE
tetradic
#CE51D9 #D98A51 #5CD951 #51A0D9
square
#CE51D9 #D98A51 #5CD951 #51A0D9
split-complementary
#CE51D9 #A0D951 #51D98A
monochromatic
#871F90 #B62AC2 #CE51D9 #DC83E4 #EAB5EF

Accessibility & contrast

On white

3.62
#CE51D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CE51D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51D9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51D9#FFFFFF#000000##000000
##CE51D91.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDD
Deuteranopia (green-blind)
#688CD5
Tritanopia (blue-blind)
#D2658E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ce51d9;
/* rgb */ color: rgb(206, 81, 217);
/* oklch */ color: oklch(65.0% 0.223 324.4);
Tailwind
colors: {
  custom: {
    50: '#e08ae5',
    500: '#ce51d9',
    950: '#000000',
  },
}
SCSS
$custom: #ce51d9;
$custom-light: #e08ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51d9",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 295.147,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65017,
    "c": 0.22284,
    "h": 324.4
  },
  "luminance": 0.24016
}

Semantic roles & 50–950 ramp

primary
#CE51D9
secondary
#ACDEA8
accent
#E7414E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CE51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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