#CE38C4#CE38C4

#CE38C4 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.5% C 0.236 H 330.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CE38C4
RGBrgb(206, 56, 196)
HSLhsl(304, 60%, 51%)
HSVhsv(304, 73%, 81%)
CMYKcmyk(0%, 72.8%, 4.9%, 19.2%)
CIE-LABlab(51.77, 72.43, -41.59)
CIE-LCHlch(51.77, 83.52, 330.13°)
OKLaboklab(61.54% 0.2063 -0.1146)
OKLCHoklch(61.54% 0.236 330.9)
XYZxyz(36.8315, 19.9386, 54.1225)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38C4 #38CE42
analogous
#8D38CE #CE38C4 #CE3879
triadic
#CE38C4 #C4CE38 #38C4CE
tetradic
#CE38C4 #CE8D38 #38CE42 #3879CE
square
#CE38C4 #CE8D38 #38CE42 #3879CE
split-complementary
#CE38C4 #79CE38 #38CE8D
monochromatic
#701C6A #A12899 #CE38C4 #DA69D3 #E69AE1

Accessibility & contrast

On white

4.21
#CE38C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CE38C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38C4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38C4#FFFFFF#000000##000000
##CE38C41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#6783C0
Tritanopia (blue-blind)
#D64B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce38c4;
/* rgb */ color: rgb(206, 56, 196);
/* oklch */ color: oklch(61.5% 0.236 330.9);
Tailwind
colors: {
  custom: {
    50: '#e17dd6',
    500: '#ce38c4',
    950: '#000000',
  },
}
SCSS
$custom: #ce38c4;
$custom-light: #e17dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38c4",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 304,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61538,
    "c": 0.23603,
    "h": 330.9
  },
  "luminance": 0.19936
}

Semantic roles & 50–950 ramp

primary
#CE38C4
secondary
#90D294
accent
#E44F44
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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