#CB48CE#CB48CE

#CB48CE is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.1% C 0.224 H 326.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CB48CE
RGBrgb(203, 72, 206)
HSLhsl(299, 58%, 55%)
HSVhsv(299, 65%, 81%)
CMYKcmyk(1.5%, 65%, 0%, 19.2%)
CIE-LABlab(53.80, 67.74, -44.14)
CIE-LCHlch(53.80, 80.86, 326.91°)
OKLaboklab(63.08% 0.1875 -0.1222)
OKLCHoklch(63.08% 0.224 326.9)
XYZxyz(38.0859, 21.7900, 60.5804)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48CE #4BCE48
analogous
#8848CE #CB48CE #CE488E
triadic
#CB48CE #CECB48 #48CECB
tetradic
#CB48CE #CE8848 #4BCE48 #488ECE
square
#CB48CE #CE8848 #4BCE48 #488ECE
split-complementary
#CB48CE #8ECE48 #48CE88
monochromatic
#79217B #A82EAB #CB48CE #D978DB #E6A9E8

Accessibility & contrast

On white

3.92
#CB48CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CB48CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48CE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48CE#FFFFFF#000000##000000
##CB48CE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#6786CA
Tritanopia (blue-blind)
#D15B85
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb48ce;
/* rgb */ color: rgb(203, 72, 206);
/* oklch */ color: oklch(63.1% 0.224 326.9);
Tailwind
colors: {
  custom: {
    50: '#de85dd',
    500: '#cb48ce',
    950: '#000000',
  },
}
SCSS
$custom: #cb48ce;
$custom-light: #de85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48ce",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 298.657,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.22383,
    "h": 326.9
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

primary
#CB48CE
secondary
#9ED59D
accent
#E1474A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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