#CE2DB8#CE2DB8

#CE2DB8 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.1% C 0.238 H 334.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CE2DB8
RGBrgb(206, 45, 184)
HSLhsl(308, 64%, 49%)
HSVhsv(308, 78%, 81%)
CMYKcmyk(0%, 78.2%, 10.7%, 19.2%)
CIE-LABlab(50.05, 73.82, -37.33)
CIE-LCHlch(50.05, 82.72, 333.18°)
OKLaboklab(60.11% 0.2151 -0.1022)
OKLCHoklch(60.11% 0.238 334.6)
XYZxyz(35.0441, 18.4625, 47.0561)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2DB8 #2DCE43
analogous
#942DCE #CE2DB8 #CE2D68
triadic
#CE2DB8 #B8CE2D #2DB8CE
tetradic
#CE2DB8 #CE942D #2DCE43 #2D68CE
square
#CE2DB8 #CE942D #2DCE43 #2D68CE
split-complementary
#CE2DB8 #68CE2D #2DCE94
monochromatic
#6A175E #9C228B #CE2DB8 #DC5DCA #E78FDB

Accessibility & contrast

On white

4.48
#CE2DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CE2DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE2DB8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2DB8#FFFFFF#000000##000000
##CE2DB81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A68BC
Deuteranopia (green-blind)
#697FB4
Tritanopia (blue-blind)
#D83D72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ce2db8;
/* rgb */ color: rgb(206, 45, 184);
/* oklch */ color: oklch(60.1% 0.238 334.6);
Tailwind
colors: {
  custom: {
    50: '#e179ce',
    500: '#ce2db8',
    950: '#000000',
  },
}
SCSS
$custom: #ce2db8;
$custom-light: #e179ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2db8",
  "rgb": {
    "r": 206,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 308.199,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.23819,
    "h": 334.6
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#CE2DB8
secondary
#86D190
accent
#E75741
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CE2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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