#CD48D6#CD48D6

#CD48D6 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.8% C 0.231 H 325.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CD48D6
RGBrgb(205, 72, 214)
HSLhsl(296, 63%, 56%)
HSVhsv(296, 66%, 84%)
CMYKcmyk(4.2%, 66.4%, 0%, 16.1%)
CIE-LABlab(54.52, 69.56, -47.55)
CIE-LCHlch(54.52, 84.25, 325.65°)
OKLaboklab(63.79% 0.1899 -0.132)
OKLCHoklch(63.79% 0.231 325.2)
XYZxyz(39.6309, 22.4714, 65.8553)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48D6 #51D648
analogous
#8648D6 #CD48D6 #D64898
triadic
#CD48D6 #D6CD48 #48D6CD
tetradic
#CD48D6 #D68648 #51D648 #4898D6
square
#CD48D6 #D68648 #51D648 #4898D6
split-complementary
#CD48D6 #98D648 #48D686
monochromatic
#7F1E86 #AF29B8 #CD48D6 #DB7AE1 #E8ACEC

Accessibility & contrast

On white

3.82
#CD48D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CD48D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48D6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48D6#FFFFFF#000000##000000
##CD48D61.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A78DA
Deuteranopia (green-blind)
#6488D2
Tritanopia (blue-blind)
#D25E89
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd48d6;
/* rgb */ color: rgb(205, 72, 214);
/* oklch */ color: oklch(63.8% 0.231 325.2);
Tailwind
colors: {
  custom: {
    50: '#e085e3',
    500: '#cd48d6',
    950: '#000000',
  },
}
SCSS
$custom: #cd48d6;
$custom-light: #e085e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48d6",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 296.197,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63794,
    "c": 0.23129,
    "h": 325.2
  },
  "luminance": 0.22469
}

Semantic roles & 50–950 ramp

primary
#CD48D6
secondary
#A3DAA0
accent
#E6414C
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CD48D6

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

Preview Lab → · Contrast checker → · Palette generator →

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