#CE51CA#CE51CA

#CE51CA is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.210 H 329.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CE51CA
RGBrgb(206, 81, 202)
HSLhsl(302, 56%, 56%)
HSVhsv(302, 61%, 81%)
CMYKcmyk(0%, 60.7%, 1.9%, 19.2%)
CIE-LABlab(55.35, 64.17, -39.38)
CIE-LCHlch(55.35, 75.29, 328.46°)
OKLaboklab(64.23% 0.1803 -0.1084)
OKLCHoklch(64.23% 0.21 329)
XYZxyz(39.0563, 23.2736, 58.3008)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51CA #51CE55
analogous
#9451CE #CE51CA #CE518C
triadic
#CE51CA #CACE51 #51CACE
tetradic
#CE51CA #CE9451 #51CE55 #518CCE
square
#CE51CA #CE9451 #51CE55 #518CCE
split-complementary
#CE51CA #8CCE51 #51CE94
monochromatic
#80247D #B032AC #CE51CA #DB81D9 #E9B1E7

Accessibility & contrast

On white

3.71
#CE51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CE51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51CA#FFFFFF#000000##000000
##CE51CA1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#708BC7
Tritanopia (blue-blind)
#D55F86
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ce51ca;
/* rgb */ color: rgb(206, 81, 202);
/* oklch */ color: oklch(64.2% 0.210 329.0);
Tailwind
colors: {
  custom: {
    50: '#e08ada',
    500: '#ce51ca',
    950: '#000000',
  },
}
SCSS
$custom: #ce51ca;
$custom-light: #e08ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51ca",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 301.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64226,
    "c": 0.21037,
    "h": 329
  },
  "luminance": 0.23271
}

Semantic roles & 50–950 ramp

primary
#CE51CA
secondary
#A4D7A5
accent
#DF4D48
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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