#CB48D2#CB48D2

#CB48D2 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.3% C 0.227 H 325.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CB48D2
RGBrgb(203, 72, 210)
HSLhsl(297, 61%, 55%)
HSVhsv(297, 66%, 82%)
CMYKcmyk(3.3%, 65.7%, 0%, 17.6%)
CIE-LABlab(54.01, 68.42, -46.10)
CIE-LCHlch(54.01, 82.50, 326.03°)
OKLaboklab(63.3% 0.1876 -0.1279)
OKLCHoklch(63.3% 0.227 325.7)
XYZxyz(38.5780, 21.9868, 63.1722)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48D2 #4FD248
analogous
#8648D2 #CB48D2 #D24894
triadic
#CB48D2 #D2CB48 #48D2CB
tetradic
#CB48D2 #D28648 #4FD248 #4894D2
square
#CB48D2 #D28648 #4FD248 #4894D2
split-complementary
#CB48D2 #94D248 #48D286
monochromatic
#7B2080 #AA2CB1 #CB48D2 #D979DE #E7AAEA

Accessibility & contrast

On white

3.89
#CB48D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CB48D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48D2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48D2#FFFFFF#000000##000000
##CB48D21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D6
Deuteranopia (green-blind)
#6487CE
Tritanopia (blue-blind)
#D05D87
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb48d2;
/* rgb */ color: rgb(203, 72, 210);
/* oklch */ color: oklch(63.3% 0.227 325.7);
Tailwind
colors: {
  custom: {
    50: '#de85e0',
    500: '#cb48d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb48d2;
$custom-light: #de85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48d2",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 296.957,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63298,
    "c": 0.22707,
    "h": 325.7
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#CB48D2
secondary
#A1D89E
accent
#E4444C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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