#CD45CB#CD45CB

#CD45CB is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.9% C 0.226 H 328.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CD45CB
RGBrgb(205, 69, 203)
HSLhsl(301, 58%, 54%)
HSVhsv(301, 66%, 80%)
CMYKcmyk(0%, 66.3%, 1%, 19.6%)
CIE-LABlab(53.55, 68.85, -42.81)
CIE-LCHlch(53.55, 81.07, 328.12°)
OKLaboklab(62.9% 0.1928 -0.1183)
OKLCHoklch(62.9% 0.226 328.5)
XYZxyz(38.0840, 21.5498, 58.6420)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45CB #45CD47
analogous
#8B45CD #CD45CB #CD4587
triadic
#CD45CB #CBCD45 #45CBCD
tetradic
#CD45CB #CD8B45 #45CD47 #4587CD
square
#CD45CB #CD8B45 #45CD47 #4587CD
split-complementary
#CD45CB #87CD45 #45CD8B
monochromatic
#772076 #A82DA6 #CD45CB #DA75D8 #E7A5E6

Accessibility & contrast

On white

3.96
#CD45CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CD45CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45CB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45CB#FFFFFF#000000##000000
##CD45CB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#6886C7
Tritanopia (blue-blind)
#D45783
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd45cb;
/* rgb */ color: rgb(205, 69, 203);
/* oklch */ color: oklch(62.9% 0.226 328.5);
Tailwind
colors: {
  custom: {
    50: '#e083db',
    500: '#cd45cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd45cb;
$custom-light: #e083db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45cb",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 300.882,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62903,
    "c": 0.22616,
    "h": 328.5
  },
  "luminance": 0.21547
}

Semantic roles & 50–950 ramp

primary
#CD45CB
secondary
#9AD49B
accent
#E14947
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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