#CE38D5#CE38D5

#CE38D5 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.5% C 0.249 H 326.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CE38D5
RGBrgb(206, 56, 213)
HSLhsl(297, 65%, 53%)
HSVhsv(297, 74%, 84%)
CMYKcmyk(3.3%, 73.7%, 0%, 16.5%)
CIE-LABlab(52.68, 75.11, -49.90)
CIE-LCHlch(52.68, 90.17, 326.40°)
OKLaboklab(62.49% 0.2063 -0.1387)
OKLCHoklch(62.49% 0.249 326.1)
XYZxyz(38.8772, 20.7569, 64.8967)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38D5 #3FD538
analogous
#8038D5 #CE38D5 #D5388D
triadic
#CE38D5 #D5CE38 #38D5CE
tetradic
#CE38D5 #D58038 #3FD538 #388DD5
square
#CE38D5 #D58038 #3FD538 #388DD5
split-complementary
#CE38D5 #8DD538 #38D580
monochromatic
#751A79 #A624AC #CE38D5 #DA6BE0 #E79DEA

Accessibility & contrast

On white

4.08
#CE38D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CE38D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38D5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38D5#FFFFFF#000000##000000
##CE38D51.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#5D84D1
Tritanopia (blue-blind)
#D35384
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce38d5;
/* rgb */ color: rgb(206, 56, 213);
/* oklch */ color: oklch(62.5% 0.249 326.1);
Tailwind
colors: {
  custom: {
    50: '#e17ee2',
    500: '#ce38d5',
    950: '#000000',
  },
}
SCSS
$custom: #ce38d5;
$custom-light: #e17ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38d5",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 297.325,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.62487,
    "c": 0.2486,
    "h": 326.1
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#CE38D5
secondary
#95D692
accent
#E84047
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE38D5

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

Preview Lab → · Contrast checker → · Palette generator →

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