#CD26CA#CD26CA

#CD26CA is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.5% C 0.256 H 329.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD26CA
RGBrgb(205, 38, 202)
HSLhsl(301, 69%, 48%)
HSVhsv(301, 81%, 80%)
CMYKcmyk(0%, 81.5%, 1.5%, 19.6%)
CIE-LABlab(50.25, 77.95, -47.46)
CIE-LCHlch(50.25, 91.26, 328.66°)
OKLaboklab(60.53% 0.2191 -0.1316)
OKLCHoklch(60.53% 0.256 329)
XYZxyz(36.5303, 18.6325, 57.5381)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD26CA #26CD29
analogous
#7D26CD #CD26CA #CD2676
triadic
#CD26CA #CACD26 #26CACD
tetradic
#CD26CA #CD7D26 #26CD29 #2676CD
square
#CD26CA #CD7D26 #26CD29 #2676CD
split-complementary
#CD26CA #76CD26 #26CD7D
monochromatic
#661364 #991C97 #CD26CA #DF51DC #E885E7

Accessibility & contrast

On white

4.44
#CD26CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CD26CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD26CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD26CA#FFFFFF#000000##000000
##CD26CA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#D4447A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd26ca;
/* rgb */ color: rgb(205, 38, 202);
/* oklch */ color: oklch(60.5% 0.256 329.0);
Tailwind
colors: {
  custom: {
    50: '#e177db',
    500: '#cd26ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd26ca;
$custom-light: #e177db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd26ca",
  "rgb": {
    "r": 205,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 301.078,
    "s": 68.724,
    "l": 47.647
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.25558,
    "h": 329
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#CD26CA
secondary
#7DD27F
accent
#EC3F3C
background
#FEF7FD
surface
#FDEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CD26CA

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

Preview Lab → · Contrast checker → · Palette generator →

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