#CE38B7#CE38B7

#CE38B7 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.227 H 335.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CE38B7
RGBrgb(206, 56, 183)
HSLhsl(309, 60%, 51%)
HSVhsv(309, 73%, 81%)
CMYKcmyk(0%, 72.8%, 11.2%, 19.2%)
CIE-LABlab(51.12, 70.48, -35.07)
CIE-LCHlch(51.12, 78.73, 333.55°)
OKLaboklab(60.86% 0.2056 -0.0958)
OKLCHoklch(60.86% 0.227 335)
XYZxyz(35.4154, 19.3722, 46.6646)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38B7 #38CE4F
analogous
#9A38CE #CE38B7 #CE386C
triadic
#CE38B7 #B7CE38 #38B7CE
tetradic
#CE38B7 #CE9A38 #38CE4F #386CCE
square
#CE38B7 #CE9A38 #38CE4F #386CCE
split-complementary
#CE38B7 #6CCE38 #38CE9A
monochromatic
#701C63 #A1288F #CE38B7 #DA69C9 #E69ADB

Accessibility & contrast

On white

4.31
#CE38B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CE38B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38B7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38B7#FFFFFF#000000##000000
##CE38B71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#376CBA
Deuteranopia (green-blind)
#6D82B3
Tritanopia (blue-blind)
#D84474
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce38b7;
/* rgb */ color: rgb(206, 56, 183);
/* oklch */ color: oklch(60.9% 0.227 335.0);
Tailwind
colors: {
  custom: {
    50: '#e17dcd',
    500: '#ce38b7',
    950: '#000000',
  },
}
SCSS
$custom: #ce38b7;
$custom-light: #e17dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38b7",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 309.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.22684,
    "h": 335
  },
  "luminance": 0.19369
}

Semantic roles & 50–950 ramp

primary
#CE38B7
secondary
#90D29A
accent
#E45D44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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