#CD48E2#CD48E2

#CD48E2 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.5% C 0.241 H 321.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CD48E2
RGBrgb(205, 72, 226)
HSLhsl(292, 73%, 58%)
HSVhsv(292, 68%, 89%)
CMYKcmyk(9.3%, 68.1%, 0%, 11.4%)
CIE-LABlab(55.18, 71.65, -53.29)
CIE-LCHlch(55.18, 89.29, 323.36°)
OKLaboklab(64.48% 0.1898 -0.1488)
OKLCHoklch(64.48% 0.241 321.9)
XYZxyz(41.2202, 23.1071, 74.2257)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48E2 #5DE248
analogous
#8048E2 #CD48E2 #E248AA
triadic
#CD48E2 #E2CD48 #48E2CD
tetradic
#CD48E2 #E28048 #5DE248 #48AAE2
square
#CD48E2 #E28048 #5DE248 #48AAE2
split-complementary
#CD48E2 #AAE248 #48E280
monochromatic
#861898 #B520CC #CD48E2 #DB7DEA #EAB2F3

Accessibility & contrast

On white

3.74
#CD48E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CD48E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48E2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48E2#FFFFFF#000000##000000
##CD48E21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#107AE6
Deuteranopia (green-blind)
#5C89DE
Tritanopia (blue-blind)
#CF6390
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd48e2;
/* rgb */ color: rgb(205, 72, 226);
/* oklch */ color: oklch(64.5% 0.241 321.9);
Tailwind
colors: {
  custom: {
    50: '#e086ec',
    500: '#cd48e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd48e2;
$custom-light: #e086ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48e2",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 291.818,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6448,
    "c": 0.24116,
    "h": 321.9
  },
  "luminance": 0.23105
}

Semantic roles & 50–950 ramp

primary
#CD48E2
secondary
#ADE1A4
accent
#EF3851
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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