#CD45CD#CD45CD

#CD45CD is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.0% C 0.228 H 327.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CD45CD
RGBrgb(205, 69, 205)
HSLhsl(300, 58%, 54%)
HSVhsv(300, 66%, 80%)
CMYKcmyk(0%, 66.3%, 0%, 19.6%)
CIE-LABlab(53.65, 69.17, -43.80)
CIE-LCHlch(53.65, 81.87, 327.66°)
OKLaboklab(63.01% 0.1928 -0.1211)
OKLCHoklch(63.01% 0.228 327.9)
XYZxyz(38.3239, 21.6458, 59.9053)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45CD #45CD45
analogous
#8945CD #CD45CD #CD4589
triadic
#CD45CD #CDCD45 #45CDCD
tetradic
#CD45CD #CD8945 #45CD45 #4589CD
square
#CD45CD #CD8945 #45CD45 #4589CD
split-complementary
#CD45CD #89CD45 #45CD89
monochromatic
#772077 #A82DA8 #CD45CD #DA75DA #E7A5E7

Accessibility & contrast

On white

3.94
#CD45CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CD45CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45CD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45CD#FFFFFF#000000##000000
##CD45CD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#D35884
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd45cd;
/* rgb */ color: rgb(205, 69, 205);
/* oklch */ color: oklch(63.0% 0.228 327.9);
Tailwind
colors: {
  custom: {
    50: '#e083dd',
    500: '#cd45cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd45cd;
$custom-light: #e083dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45cd",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.63011,
    "c": 0.22773,
    "h": 327.9
  },
  "luminance": 0.21643
}

Semantic roles & 50–950 ramp

primary
#CD45CD
secondary
#9AD49A
accent
#E14747
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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