#CD2EB8#CD2EB8

#CD2EB8 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.0% C 0.237 H 334.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CD2EB8
RGBrgb(205, 46, 184)
HSLhsl(308, 63%, 49%)
HSVhsv(308, 78%, 80%)
CMYKcmyk(0%, 77.6%, 10.2%, 19.6%)
CIE-LABlab(49.97, 73.35, -37.46)
CIE-LCHlch(49.97, 82.36, 332.94°)
OKLaboklab(60.02% 0.2134 -0.1027)
OKLCHoklch(60.02% 0.237 334.3)
XYZxyz(34.8059, 18.3969, 47.0560)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2EB8 #2ECD43
analogous
#932ECD #CD2EB8 #CD2E68
triadic
#CD2EB8 #B8CD2E #2EB8CD
tetradic
#CD2EB8 #CD932E #2ECD43 #2E68CD
square
#CD2EB8 #CD932E #2ECD43 #2E68CD
split-complementary
#CD2EB8 #68CD2E #2ECD93
monochromatic
#69185E #9B238B #CD2EB8 #DB5DCA #E68FDB

Accessibility & contrast

On white

4.49
#CD2EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CD2EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2EB8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2EB8#FFFFFF#000000##000000
##CD2EB81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd2eb8;
/* rgb */ color: rgb(205, 46, 184);
/* oklch */ color: oklch(60.0% 0.237 334.3);
Tailwind
colors: {
  custom: {
    50: '#e179ce',
    500: '#cd2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #cd2eb8;
$custom-light: #e179ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2eb8",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 307.925,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.2368,
    "h": 334.3
  },
  "luminance": 0.18394
}

Semantic roles & 50–950 ramp

primary
#CD2EB8
secondary
#86D090
accent
#E65741
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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