#CE2DBA#CE2DBA

#CE2DBA is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.2% C 0.240 H 334.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CE2DBA
RGBrgb(206, 45, 186)
HSLhsl(307, 64%, 49%)
HSVhsv(307, 78%, 81%)
CMYKcmyk(0%, 78.2%, 9.7%, 19.2%)
CIE-LABlab(50.15, 74.11, -38.34)
CIE-LCHlch(50.15, 83.44, 332.65°)
OKLaboklab(60.22% 0.2152 -0.1051)
OKLCHoklch(60.22% 0.24 334)
XYZxyz(35.2553, 18.5469, 48.1680)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2DBA #2DCE41
analogous
#912DCE #CE2DBA #CE2D6A
triadic
#CE2DBA #BACE2D #2DBACE
tetradic
#CE2DBA #CE912D #2DCE41 #2D6ACE
square
#CE2DBA #CE912D #2DCE41 #2D6ACE
split-complementary
#CE2DBA #6ACE2D #2DCE91
monochromatic
#6A175F #9C228D #CE2DBA #DC5DCC #E78FDC

Accessibility & contrast

On white

4.46
#CE2DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CE2DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE2DBA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2DBA#FFFFFF#000000##000000
##CE2DBA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#687FB6
Tritanopia (blue-blind)
#D83E73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ce2dba;
/* rgb */ color: rgb(206, 45, 186);
/* oklch */ color: oklch(60.2% 0.240 334.0);
Tailwind
colors: {
  custom: {
    50: '#e179cf',
    500: '#ce2dba',
    950: '#000000',
  },
}
SCSS
$custom: #ce2dba;
$custom-light: #e179cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2dba",
  "rgb": {
    "r": 206,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 307.453,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60215,
    "c": 0.23952,
    "h": 334
  },
  "luminance": 0.18544
}

Semantic roles & 50–950 ramp

primary
#CE2DBA
secondary
#86D18F
accent
#E75541
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CE2DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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