#CE38C3#CE38C3

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

Color values

HEX#CE38C3
RGBrgb(206, 56, 195)
HSLhsl(304, 60%, 51%)
HSVhsv(304, 73%, 81%)
CMYKcmyk(0%, 72.8%, 5.3%, 19.2%)
CIE-LABlab(51.72, 72.27, -41.09)
CIE-LCHlch(51.72, 83.14, 330.38°)
OKLaboklab(61.48% 0.2063 -0.1132)
OKLCHoklch(61.48% 0.235 331.3)
XYZxyz(36.7181, 19.8932, 53.5251)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38C3 #38CE43
analogous
#8E38CE #CE38C3 #CE3878
triadic
#CE38C3 #C3CE38 #38C3CE
tetradic
#CE38C3 #CE8E38 #38CE43 #3878CE
square
#CE38C3 #CE8E38 #38CE43 #3878CE
split-complementary
#CE38C3 #78CE38 #38CE8E
monochromatic
#701C6A #A12898 #CE38C3 #DA69D2 #E69AE1

Accessibility & contrast

On white

4.22
#CE38C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CE38C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38C3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38C3#FFFFFF#000000##000000
##CE38C31.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC7
Deuteranopia (green-blind)
#6783BF
Tritanopia (blue-blind)
#D64A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce38c3;
/* rgb */ color: rgb(206, 56, 195);
/* oklch */ color: oklch(61.5% 0.235 331.3);
Tailwind
colors: {
  custom: {
    50: '#e17dd5',
    500: '#ce38c3',
    950: '#000000',
  },
}
SCSS
$custom: #ce38c3;
$custom-light: #e17dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38c3",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 304.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.23531,
    "h": 331.3
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#CE38C3
secondary
#90D295
accent
#E45044
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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