#CD48FF#CD48FF

#CD48FF is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.3% C 0.266 H 314.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CD48FF
RGBrgb(205, 72, 255)
HSLhsl(284, 100%, 64%)
HSVhsv(284, 72%, 100%)
CMYKcmyk(19.6%, 71.8%, 0%, 0%)
CIE-LABlab(56.91, 76.97, -66.72)
CIE-LCHlch(56.91, 101.86, 319.08°)
OKLaboklab(66.27% 0.1877 -0.1881)
OKLCHoklch(66.27% 0.266 314.9)
XYZxyz(45.5412, 24.8355, 96.9831)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48FF #7AFF48
analogous
#7248FF #CD48FF #FF48D5
triadic
#CD48FF #FFCD48 #48FFCD
tetradic
#CD48FF #FF7248 #7AFF48 #48D5FF
square
#CD48FF #FF7248 #7AFF48 #48D5FF
split-complementary
#CD48FF #D5FF48 #48FF72
monochromatic
#9500CD #BC0BFF #CD48FF #DE85FF #EEC2FF

Accessibility & contrast

On white

3.52
#CD48FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CD48FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48FF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48FF#FFFFFF#000000##000000
##CD48FF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#408CFB
Tritanopia (blue-blind)
#C96FA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd48ff;
/* rgb */ color: rgb(205, 72, 255);
/* oklch */ color: oklch(66.3% 0.266 314.9);
Tailwind
colors: {
  custom: {
    50: '#e187ff',
    500: '#cd48ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd48ff;
$custom-light: #e187ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48ff",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 283.607,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66269,
    "c": 0.2657,
    "h": 314.9
  },
  "luminance": 0.24834
}

Semantic roles & 50–950 ramp

primary
#CD48FF
secondary
#C3F1B1
accent
#E6003F
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CD48FF

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

Preview Lab → · Contrast checker → · Palette generator →

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