#CE51C3#CE51C3

#CE51C3 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.9% C 0.205 H 331.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CE51C3
RGBrgb(206, 81, 195)
HSLhsl(305, 56%, 56%)
HSVhsv(305, 61%, 81%)
CMYKcmyk(0%, 60.7%, 5.3%, 19.2%)
CIE-LABlab(55.02, 63.01, -35.89)
CIE-LCHlch(55.02, 72.52, 330.33°)
OKLaboklab(63.88% 0.1796 -0.0984)
OKLCHoklch(63.88% 0.205 331.3)
XYZxyz(38.2462, 22.9495, 54.0345)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51C3 #51CE5C
analogous
#9B51CE #CE51C3 #CE5185
triadic
#CE51C3 #C3CE51 #51C3CE
tetradic
#CE51C3 #CE9B51 #51CE5C #5185CE
square
#CE51C3 #CE9B51 #51CE5C #5185CE
split-complementary
#CE51C3 #85CE51 #51CE9B
monochromatic
#802478 #B032A5 #CE51C3 #DB81D3 #E9B1E4

Accessibility & contrast

On white

3.76
#CE51C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CE51C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51C3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51C3#FFFFFF#000000##000000
##CE51C31.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C6
Deuteranopia (green-blind)
#748AC0
Tritanopia (blue-blind)
#D65D83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ce51c3;
/* rgb */ color: rgb(206, 81, 195);
/* oklch */ color: oklch(63.9% 0.205 331.3);
Tailwind
colors: {
  custom: {
    50: '#e089d5',
    500: '#ce51c3',
    950: '#000000',
  },
}
SCSS
$custom: #ce51c3;
$custom-light: #e089d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51c3",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 305.28,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63875,
    "c": 0.20475,
    "h": 331.3
  },
  "luminance": 0.22947
}

Semantic roles & 50–950 ramp

primary
#CE51C3
secondary
#A4D7A8
accent
#DF5648
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CE51C3

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

Preview Lab → · Contrast checker → · Palette generator →

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