#CB48D7#CB48D7

#CB48D7 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.6% C 0.231 H 324.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CB48D7
RGBrgb(203, 72, 215)
HSLhsl(295, 64%, 56%)
HSVhsv(295, 67%, 84%)
CMYKcmyk(5.6%, 66.5%, 0%, 15.7%)
CIE-LABlab(54.28, 69.28, -48.52)
CIE-LCHlch(54.28, 84.58, 325.00°)
OKLaboklab(63.58% 0.1877 -0.1349)
OKLCHoklch(63.58% 0.231 324.3)
XYZxyz(39.2107, 22.2399, 66.5042)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48D7 #54D748
analogous
#8448D7 #CB48D7 #D7489C
triadic
#CB48D7 #D7CB48 #48D7CB
tetradic
#CB48D7 #D78448 #54D748 #489CD7
square
#CB48D7 #D78448 #54D748 #489CD7
split-complementary
#CB48D7 #9CD748 #48D784
monochromatic
#7E1E87 #AD29B9 #CB48D7 #D97AE2 #E8ACED

Accessibility & contrast

On white

3.85
#CB48D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CB48D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48D7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48D7#FFFFFF#000000##000000
##CB48D71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2778DB
Deuteranopia (green-blind)
#6187D3
Tritanopia (blue-blind)
#CF5F8A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb48d7;
/* rgb */ color: rgb(203, 72, 215);
/* oklch */ color: oklch(63.6% 0.231 324.3);
Tailwind
colors: {
  custom: {
    50: '#de85e4',
    500: '#cb48d7',
    950: '#000000',
  },
}
SCSS
$custom: #cb48d7;
$custom-light: #de85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48d7",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 294.965,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63577,
    "c": 0.23117,
    "h": 324.3
  },
  "luminance": 0.22238
}

Semantic roles & 50–950 ramp

primary
#CB48D7
secondary
#A5DBA0
accent
#E7414F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CB48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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