#CB48C7#CB48C7

#CB48C7 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.7% C 0.218 H 329.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CB48C7
RGBrgb(203, 72, 199)
HSLhsl(302, 56%, 54%)
HSVhsv(302, 65%, 80%)
CMYKcmyk(0%, 64.5%, 2%, 20.4%)
CIE-LABlab(53.45, 66.58, -40.70)
CIE-LCHlch(53.45, 78.03, 328.56°)
OKLaboklab(62.71% 0.1872 -0.1122)
OKLCHoklch(62.71% 0.218 329.1)
XYZxyz(37.2544, 21.4574, 56.2013)
Luminance0.2145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48C7 #48CB4C
analogous
#8E48CB #CB48C7 #CB4886
triadic
#CB48C7 #C7CB48 #48C7CB
tetradic
#CB48C7 #CB8E48 #48CB4C #4886CB
square
#CB48C7 #CB8E48 #48CB4C #4886CB
split-complementary
#CB48C7 #86CB48 #48CB8E
monochromatic
#772274 #A62FA3 #CB48C7 #D978D6 #E6A7E4

Accessibility & contrast

On white

3.97
#CB48C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CB48C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48C7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48C7#FFFFFF#000000##000000
##CB48C71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CB
Deuteranopia (green-blind)
#6A86C4
Tritanopia (blue-blind)
#D25881
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb48c7;
/* rgb */ color: rgb(203, 72, 199);
/* oklch */ color: oklch(62.7% 0.218 329.1);
Tailwind
colors: {
  custom: {
    50: '#de85d8',
    500: '#cb48c7',
    950: '#000000',
  },
}
SCSS
$custom: #cb48c7;
$custom-light: #de85d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48c7",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 301.832,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62705,
    "c": 0.21825,
    "h": 329.1
  },
  "luminance": 0.21455
}

Semantic roles & 50–950 ramp

primary
#CB48C7
secondary
#9BD39D
accent
#DF4D49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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