#CB48E2#CB48E2

#CB48E2 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.2% C 0.240 H 321.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CB48E2
RGBrgb(203, 72, 226)
HSLhsl(291, 73%, 58%)
HSVhsv(291, 68%, 89%)
CMYKcmyk(10.2%, 68.1%, 0%, 11.4%)
CIE-LABlab(54.89, 71.22, -53.77)
CIE-LCHlch(54.89, 89.24, 322.94°)
OKLaboklab(64.21% 0.1876 -0.1502)
OKLCHoklch(64.21% 0.24 321.3)
XYZxyz(40.6719, 22.8244, 74.2000)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48E2 #5FE248
analogous
#7E48E2 #CB48E2 #E248AC
triadic
#CB48E2 #E2CB48 #48E2CB
tetradic
#CB48E2 #E27E48 #5FE248 #48ACE2
square
#CB48E2 #E27E48 #5FE248 #48ACE2
split-complementary
#CB48E2 #ACE248 #48E27E
monochromatic
#851898 #B320CC #CB48E2 #DA7DEA #E9B2F3

Accessibility & contrast

On white

3.77
#CB48E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CB48E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48E2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48E2#FFFFFF#000000##000000
##CB48E21.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7AE6
Deuteranopia (green-blind)
#5A88DE
Tritanopia (blue-blind)
#CD6390
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb48e2;
/* rgb */ color: rgb(203, 72, 226);
/* oklch */ color: oklch(64.2% 0.240 321.3);
Tailwind
colors: {
  custom: {
    50: '#df85ec',
    500: '#cb48e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb48e2;
$custom-light: #df85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48e2",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 291.039,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.24031,
    "h": 321.3
  },
  "luminance": 0.22822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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