#CE38C5#CE38C5

#CE38C5 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.237 H 330.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CE38C5
RGBrgb(206, 56, 197)
HSLhsl(304, 60%, 51%)
HSVhsv(304, 73%, 81%)
CMYKcmyk(0%, 72.8%, 4.4%, 19.2%)
CIE-LABlab(51.82, 72.58, -42.08)
CIE-LCHlch(51.82, 83.90, 329.89°)
OKLaboklab(61.59% 0.2064 -0.116)
OKLCHoklch(61.59% 0.237 330.6)
XYZxyz(36.9457, 19.9843, 54.7240)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38C5 #38CE41
analogous
#8C38CE #CE38C5 #CE387A
triadic
#CE38C5 #C5CE38 #38C5CE
tetradic
#CE38C5 #CE8C38 #38CE41 #387ACE
square
#CE38C5 #CE8C38 #38CE41 #387ACE
split-complementary
#CE38C5 #7ACE38 #38CE8C
monochromatic
#701C6B #A1289A #CE38C5 #DA69D3 #E69AE2

Accessibility & contrast

On white

4.20
#CE38C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CE38C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38C5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38C5#FFFFFF#000000##000000
##CE38C51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#286EC9
Deuteranopia (green-blind)
#6683C1
Tritanopia (blue-blind)
#D64B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce38c5;
/* rgb */ color: rgb(206, 56, 197);
/* oklch */ color: oklch(61.6% 0.237 330.6);
Tailwind
colors: {
  custom: {
    50: '#e17dd7',
    500: '#ce38c5',
    950: '#000000',
  },
}
SCSS
$custom: #ce38c5;
$custom-light: #e17dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38c5",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 303.6,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.23675,
    "h": 330.6
  },
  "luminance": 0.19981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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