#CE31C1#CE31C1

#CE31C1 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.9% C 0.241 H 331.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CE31C1
RGBrgb(206, 49, 193)
HSLhsl(305, 62%, 50%)
HSVhsv(305, 76%, 81%)
CMYKcmyk(0%, 76.2%, 6.3%, 19.2%)
CIE-LABlab(50.89, 74.05, -41.24)
CIE-LCHlch(50.89, 84.76, 330.88°)
OKLaboklab(60.86% 0.2123 -0.1136)
OKLCHoklch(60.86% 0.241 331.8)
XYZxyz(36.1776, 19.1717, 52.2369)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE31C1 #31CE3E
analogous
#8C31CE #CE31C1 #CE3173
triadic
#CE31C1 #C1CE31 #31C1CE
tetradic
#CE31C1 #CE8C31 #31CE3E #3173CE
square
#CE31C1 #CE8C31 #31CE3E #3173CE
split-complementary
#CE31C1 #73CE31 #31CE8C
monochromatic
#6B1964 #9D2593 #CE31C1 #DA62D0 #E694DF

Accessibility & contrast

On white

4.34
#CE31C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CE31C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE31C1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE31C1#FFFFFF#000000##000000
##CE31C11.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#236BC5
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#D74578
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ce31c1;
/* rgb */ color: rgb(206, 49, 193);
/* oklch */ color: oklch(60.9% 0.241 331.8);
Tailwind
colors: {
  custom: {
    50: '#e17bd4',
    500: '#ce31c1',
    950: '#000000',
  },
}
SCSS
$custom: #ce31c1;
$custom-light: #e17bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce31c1",
  "rgb": {
    "r": 206,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 304.968,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.60857,
    "c": 0.24075,
    "h": 331.8
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#CE31C1
secondary
#8AD190
accent
#E55143
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE31C1

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

Preview Lab → · Contrast checker → · Palette generator →

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