#CD27C1#CD27C1

#CD27C1 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.1% C 0.249 H 331.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CD27C1
RGBrgb(205, 39, 193)
HSLhsl(304, 68%, 48%)
HSVhsv(304, 81%, 80%)
CMYKcmyk(0%, 81%, 5.9%, 19.6%)
CIE-LABlab(49.84, 76.39, -42.92)
CIE-LCHlch(49.84, 87.62, 330.67°)
OKLaboklab(60.08% 0.2187 -0.1184)
OKLCHoklch(60.08% 0.249 331.6)
XYZxyz(35.5281, 18.2834, 52.0996)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD27C1 #27CD33
analogous
#8627CD #CD27C1 #CD276E
triadic
#CD27C1 #C1CD27 #27C1CD
tetradic
#CD27C1 #CD8627 #27CD33 #276ECD
square
#CD27C1 #CD8627 #27CD33 #276ECD
split-complementary
#CD27C1 #6ECD27 #27CD86
monochromatic
#661360 #9A1D91 #CD27C1 #DE53D4 #E886E1

Accessibility & contrast

On white

4.51
#CD27C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CD27C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD27C1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD27C1#FFFFFF#000000##000000
##CD27C11.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1068C5
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#D63F75
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd27c1;
/* rgb */ color: rgb(205, 39, 193);
/* oklch */ color: oklch(60.1% 0.249 331.6);
Tailwind
colors: {
  custom: {
    50: '#e177d4',
    500: '#cd27c1',
    950: '#000000',
  },
}
SCSS
$custom: #cd27c1;
$custom-light: #e177d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd27c1",
  "rgb": {
    "r": 205,
    "g": 39,
    "b": 193
  },
  "hsl": {
    "h": 304.337,
    "s": 68.033,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60077,
    "c": 0.24867,
    "h": 331.6
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#CD27C1
secondary
#7ED184
accent
#EB493D
background
#FEF7FD
surface
#FDEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CD27C1

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

Preview Lab → · Contrast checker → · Palette generator →

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