#CE38D7#CE38D7

#CE38D7 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.6% C 0.250 H 325.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CE38D7
RGBrgb(206, 56, 215)
HSLhsl(297, 67%, 53%)
HSVhsv(297, 74%, 84%)
CMYKcmyk(4.2%, 74%, 0%, 15.7%)
CIE-LABlab(52.79, 75.44, -50.86)
CIE-LCHlch(52.79, 90.98, 326.01°)
OKLaboklab(62.6% 0.2062 -0.1415)
OKLCHoklch(62.6% 0.25 325.5)
XYZxyz(39.1327, 20.8591, 66.2419)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38D7 #41D738
analogous
#7E38D7 #CE38D7 #D73890
triadic
#CE38D7 #D7CE38 #38D7CE
tetradic
#CE38D7 #D77E38 #41D738 #3890D7
square
#CE38D7 #D77E38 #41D738 #3890D7
split-complementary
#CE38D7 #90D738 #38D77E
monochromatic
#76197C #A723AF #CE38D7 #DB6BE1 #E79EEB

Accessibility & contrast

On white

4.06
#CE38D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CE38D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38D7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38D7#FFFFFF#000000##000000
##CE38D71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#5C84D3
Tritanopia (blue-blind)
#D35486
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce38d7;
/* rgb */ color: rgb(206, 56, 215);
/* oklch */ color: oklch(62.6% 0.250 325.5);
Tailwind
colors: {
  custom: {
    50: '#e17ee4',
    500: '#ce38d7',
    950: '#000000',
  },
}
SCSS
$custom: #ce38d7;
$custom-light: #e17ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38d7",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 215
  },
  "hsl": {
    "h": 296.604,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62603,
    "c": 0.25012,
    "h": 325.5
  },
  "luminance": 0.20856
}

Semantic roles & 50–950 ramp

primary
#CE38D7
secondary
#97D893
accent
#E93E48
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CE38D7

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

Preview Lab → · Contrast checker → · Palette generator →

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