#CB48DC#CB48DC

#CB48DC is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.9% C 0.235 H 322.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CB48DC
RGBrgb(203, 72, 220)
HSLhsl(293, 68%, 57%)
HSVhsv(293, 67%, 86%)
CMYKcmyk(7.7%, 67.3%, 0%, 13.7%)
CIE-LABlab(54.55, 70.15, -50.92)
CIE-LCHlch(54.55, 86.68, 324.03°)
OKLaboklab(63.86% 0.1877 -0.1419)
OKLCHoklch(63.86% 0.235 322.9)
XYZxyz(39.8630, 22.5008, 69.9397)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48DC #59DC48
analogous
#8148DC #CB48DC #DC48A3
triadic
#CB48DC #DCCB48 #48DCCB
tetradic
#CB48DC #DC8148 #59DC48 #48A3DC
square
#CB48DC #DC8148 #59DC48 #48A3DC
split-complementary
#CB48DC #A3DC48 #48DC81
monochromatic
#811B8E #B025C2 #CB48DC #DA7BE6 #E8AFF0

Accessibility & contrast

On white

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

On black

5.50
#CB48DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48DC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48DC#FFFFFF#000000##000000
##CB48DC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E0
Deuteranopia (green-blind)
#5E88D8
Tritanopia (blue-blind)
#CE618D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb48dc;
/* rgb */ color: rgb(203, 72, 220);
/* oklch */ color: oklch(63.9% 0.235 322.9);
Tailwind
colors: {
  custom: {
    50: '#df85e7',
    500: '#cb48dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb48dc;
$custom-light: #df85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48dc",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 293.108,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63862,
    "c": 0.2353,
    "h": 322.9
  },
  "luminance": 0.22499
}

Semantic roles & 50–950 ramp

primary
#CB48DC
secondary
#A9DEA2
accent
#EB3D51
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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