#CD45DA#CD45DA

#CD45DA is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.238 H 324.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CD45DA
RGBrgb(205, 69, 218)
HSLhsl(295, 67%, 56%)
HSVhsv(295, 68%, 85%)
CMYKcmyk(6%, 68.3%, 0%, 14.5%)
CIE-LABlab(54.34, 71.36, -50.10)
CIE-LCHlch(54.34, 87.19, 324.93°)
OKLaboklab(63.74% 0.193 -0.1395)
OKLCHoklch(63.74% 0.238 324.1)
XYZxyz(39.9588, 22.2997, 68.5157)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45DA #52DA45
analogous
#8345DA #CD45DA #DA459D
triadic
#CD45DA #DACD45 #45DACD
tetradic
#CD45DA #DA8345 #52DA45 #459DDA
square
#CD45DA #DA8345 #52DA45 #459DDA
split-complementary
#CD45DA #9DDA45 #45DA83
monochromatic
#801B89 #AF25BC #CD45DA #DB78E4 #E8ABEE

Accessibility & contrast

On white

3.85
#CD45DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CD45DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45DA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45DA#FFFFFF#000000##000000
##CD45DA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DE
Deuteranopia (green-blind)
#5F88D6
Tritanopia (blue-blind)
#D15E8B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd45da;
/* rgb */ color: rgb(205, 69, 218);
/* oklch */ color: oklch(63.7% 0.238 324.1);
Tailwind
colors: {
  custom: {
    50: '#e084e6',
    500: '#cd45da',
    950: '#000000',
  },
}
SCSS
$custom: #cd45da;
$custom-light: #e084e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45da",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 294.765,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63735,
    "c": 0.23811,
    "h": 324.1
  },
  "luminance": 0.22297
}

Semantic roles & 50–950 ramp

primary
#CD45DA
secondary
#A4DC9F
accent
#EA3E4D
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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