#CD00CD#CD00CD

#CD00CD is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.5% C 0.274 H 328.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CD00CD
RGBrgb(205, 0, 205)
HSLhsl(300, 100%, 40%)
HSVhsv(300, 100%, 80%)
CMYKcmyk(0%, 100%, 0%, 19.6%)
CIE-LABlab(48.75, 83.33, -51.60)
CIE-LCHlch(48.75, 98.02, 328.24°)
OKLaboklab(59.52% 0.2329 -0.1435)
OKLCHoklch(59.52% 0.274 328.4)
XYZxyz(36.1959, 17.3898, 59.1960)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD00CD #00CD00
analogous
#6600CD #CD00CD #CD0066
triadic
#CD00CD #CDCD00 #00CDCD
tetradic
#CD00CD #CD6600 #00CD00 #0066CD
square
#CD00CD #CD6600 #00CD00 #0066CD
split-complementary
#CD00CD #66CD00 #00CD66
monochromatic
#530053 #900090 #CD00CD #FF0BFF #FF48FF

Accessibility & contrast

On white

4.69
#CD00CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CD00CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD00CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD00CD#FFFFFF#000000##FFFFFF
##CD00CD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#527CC9
Tritanopia (blue-blind)
#D43A78
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd00cd;
/* rgb */ color: rgb(205, 0, 205);
/* oklch */ color: oklch(59.5% 0.274 328.4);
Tailwind
colors: {
  custom: {
    50: '#e170dd',
    500: '#cd00cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd00cd;
$custom-light: #e170dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd00cd",
  "rgb": {
    "r": 205,
    "g": 0,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59525,
    "c": 0.27358,
    "h": 328.4
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#CD00CD
secondary
#4ADF4A
accent
#FF2929
background
#FEF7FD
surface
#FDEEFB
border
#D5C9D4
text
#160915
muted
#847B83

Preview Lab

Preview with #CD00CD

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

Preview Lab → · Contrast checker → · Palette generator →

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