#CE38BC#CE38BC

#CE38BC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.1% C 0.230 H 333.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CE38BC
RGBrgb(206, 56, 188)
HSLhsl(307, 60%, 51%)
HSVhsv(307, 73%, 81%)
CMYKcmyk(0%, 72.8%, 8.7%, 19.2%)
CIE-LABlab(51.36, 71.22, -37.59)
CIE-LCHlch(51.36, 80.53, 332.17°)
OKLaboklab(61.12% 0.206 -0.1031)
OKLCHoklch(61.12% 0.23 333.4)
XYZxyz(35.9451, 19.5841, 49.4542)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38BC #38CE4A
analogous
#9538CE #CE38BC #CE3871
triadic
#CE38BC #BCCE38 #38BCCE
tetradic
#CE38BC #CE9538 #38CE4A #3871CE
square
#CE38BC #CE9538 #38CE4A #3871CE
split-complementary
#CE38BC #71CE38 #38CE95
monochromatic
#701C66 #A12893 #CE38BC #DA69CD #E69ADD

Accessibility & contrast

On white

4.27
#CE38BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CE38BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38BC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38BC#FFFFFF#000000##000000
##CE38BC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#D74777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce38bc;
/* rgb */ color: rgb(206, 56, 188);
/* oklch */ color: oklch(61.1% 0.230 333.4);
Tailwind
colors: {
  custom: {
    50: '#e17dd0',
    500: '#ce38bc',
    950: '#000000',
  },
}
SCSS
$custom: #ce38bc;
$custom-light: #e17dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38bc",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 307.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61117,
    "c": 0.23033,
    "h": 333.4
  },
  "luminance": 0.19581
}

Semantic roles & 50–950 ramp

primary
#CE38BC
secondary
#90D298
accent
#E45744
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CE38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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