#CD27C0#CD27C0

#CD27C0 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 60.0% C 0.248 H 331.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CD27C0
RGBrgb(205, 39, 192)
HSLhsl(305, 68%, 48%)
HSVhsv(305, 81%, 80%)
CMYKcmyk(0%, 81%, 6.3%, 19.6%)
CIE-LABlab(49.78, 76.24, -42.42)
CIE-LCHlch(49.78, 87.25, 330.91°)
OKLaboklab(60.02% 0.2187 -0.1169)
OKLCHoklch(60.02% 0.248 331.9)
XYZxyz(35.4169, 18.2390, 51.5141)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD27C0 #27CD34
analogous
#8727CD #CD27C0 #CD276D
triadic
#CD27C0 #C0CD27 #27C0CD
tetradic
#CD27C0 #CD8727 #27CD34 #276DCD
square
#CD27C0 #CD8727 #27CD34 #276DCD
split-complementary
#CD27C0 #6DCD27 #27CD87
monochromatic
#661360 #9A1D90 #CD27C0 #DE53D3 #E886E0

Accessibility & contrast

On white

4.52
#CD27C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CD27C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD27C0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD27C0#FFFFFF#000000##000000
##CD27C01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1368C4
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#D63E75
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd27c0;
/* rgb */ color: rgb(205, 39, 192);
/* oklch */ color: oklch(60.0% 0.248 331.9);
Tailwind
colors: {
  custom: {
    50: '#e177d3',
    500: '#cd27c0',
    950: '#000000',
  },
}
SCSS
$custom: #cd27c0;
$custom-light: #e177d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd27c0",
  "rgb": {
    "r": 205,
    "g": 39,
    "b": 192
  },
  "hsl": {
    "h": 304.699,
    "s": 68.033,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.24799,
    "h": 331.9
  },
  "luminance": 0.18236
}

Semantic roles & 50–950 ramp

primary
#CD27C0
secondary
#7ED185
accent
#EB4B3D
background
#FEF7FD
surface
#FDEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CD27C0

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

Preview Lab → · Contrast checker → · Palette generator →

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