#CE38C2#CE38C2

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

Color values

HEX#CE38C2
RGBrgb(206, 56, 194)
HSLhsl(305, 60%, 51%)
HSVhsv(305, 73%, 81%)
CMYKcmyk(0%, 72.8%, 5.8%, 19.2%)
CIE-LABlab(51.67, 72.12, -40.59)
CIE-LCHlch(51.67, 82.76, 330.63°)
OKLaboklab(61.43% 0.2063 -0.1117)
OKLCHoklch(61.43% 0.235 331.6)
XYZxyz(36.6054, 19.8482, 52.9316)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38C2 #38CE44
analogous
#8F38CE #CE38C2 #CE3877
triadic
#CE38C2 #C2CE38 #38C2CE
tetradic
#CE38C2 #CE8F38 #38CE44 #3877CE
square
#CE38C2 #CE8F38 #38CE44 #3877CE
split-complementary
#CE38C2 #77CE38 #38CE8F
monochromatic
#701C69 #A12897 #CE38C2 #DA69D1 #E69AE0

Accessibility & contrast

On white

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

On black

4.97
#CE38C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38C2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38C2#FFFFFF#000000##000000
##CE38C21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#6882BE
Tritanopia (blue-blind)
#D64A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce38c2;
/* rgb */ color: rgb(206, 56, 194);
/* oklch */ color: oklch(61.4% 0.235 331.6);
Tailwind
colors: {
  custom: {
    50: '#e17dd5',
    500: '#ce38c2',
    950: '#000000',
  },
}
SCSS
$custom: #ce38c2;
$custom-light: #e17dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38c2",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 304.8,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.23458,
    "h": 331.6
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE38C2

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

Preview Lab → · Contrast checker → · Palette generator →

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