#CE38C1#CE38C1

#CE38C1 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.234 H 331.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CE38C1
RGBrgb(206, 56, 193)
HSLhsl(305, 60%, 51%)
HSVhsv(305, 73%, 81%)
CMYKcmyk(0%, 72.8%, 6.3%, 19.2%)
CIE-LABlab(51.61, 71.97, -40.10)
CIE-LCHlch(51.61, 82.38, 330.88°)
OKLaboklab(61.38% 0.2062 -0.1103)
OKLCHoklch(61.38% 0.234 331.9)
XYZxyz(36.4935, 19.8034, 52.3421)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38C1 #38CE45
analogous
#9038CE #CE38C1 #CE3876
triadic
#CE38C1 #C1CE38 #38C1CE
tetradic
#CE38C1 #CE9038 #38CE45 #3876CE
square
#CE38C1 #CE9038 #38CE45 #3876CE
split-complementary
#CE38C1 #76CE38 #38CE90
monochromatic
#701C69 #A12897 #CE38C1 #DA69D0 #E69AE0

Accessibility & contrast

On white

4.23
#CE38C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CE38C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38C1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38C1#FFFFFF#000000##000000
##CE38C11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC5
Deuteranopia (green-blind)
#6882BD
Tritanopia (blue-blind)
#D74979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce38c1;
/* rgb */ color: rgb(206, 56, 193);
/* oklch */ color: oklch(61.4% 0.234 331.9);
Tailwind
colors: {
  custom: {
    50: '#e17dd4',
    500: '#ce38c1',
    950: '#000000',
  },
}
SCSS
$custom: #ce38c1;
$custom-light: #e17dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38c1",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 305.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.23387,
    "h": 331.9
  },
  "luminance": 0.198
}

Semantic roles & 50–950 ramp

primary
#CE38C1
secondary
#90D296
accent
#E45244
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE38C1

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

Preview Lab → · Contrast checker → · Palette generator →

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