#CB48CB#CB48CB

#CB48CB is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.9% C 0.221 H 327.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CB48CB
RGBrgb(203, 72, 203)
HSLhsl(300, 56%, 54%)
HSVhsv(300, 65%, 80%)
CMYKcmyk(0%, 64.5%, 0%, 20.4%)
CIE-LABlab(53.65, 67.24, -42.67)
CIE-LCHlch(53.65, 79.64, 327.60°)
OKLaboklab(62.92% 0.1874 -0.1179)
OKLCHoklch(62.92% 0.221 327.8)
XYZxyz(37.7249, 21.6456, 58.6794)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48CB #48CB48
analogous
#8A48CB #CB48CB #CB488A
triadic
#CB48CB #CBCB48 #48CBCB
tetradic
#CB48CB #CB8A48 #48CB48 #488ACB
square
#CB48CB #CB8A48 #48CB48 #488ACB
split-complementary
#CB48CB #8ACB48 #48CB8A
monochromatic
#772277 #A62FA6 #CB48CB #D978D9 #E6A7E6

Accessibility & contrast

On white

3.94
#CB48CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CB48CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48CB#FFFFFF#000000##000000
##CB48CB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#6886C7
Tritanopia (blue-blind)
#D15A84
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb48cb;
/* rgb */ color: rgb(203, 72, 203);
/* oklch */ color: oklch(62.9% 0.221 327.8);
Tailwind
colors: {
  custom: {
    50: '#de85db',
    500: '#cb48cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb48cb;
$custom-light: #de85db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48cb",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62917,
    "c": 0.22142,
    "h": 327.8
  },
  "luminance": 0.21643
}

Semantic roles & 50–950 ramp

primary
#CB48CB
secondary
#9BD39B
accent
#DF4949
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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