#CB45D1#CB45D1

#CB45D1 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.0% C 0.230 H 326.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CB45D1
RGBrgb(203, 69, 209)
HSLhsl(297, 60%, 55%)
HSVhsv(297, 67%, 82%)
CMYKcmyk(2.9%, 67%, 0%, 18%)
CIE-LABlab(53.56, 69.39, -46.25)
CIE-LCHlch(53.56, 83.39, 326.31°)
OKLaboklab(62.95% 0.1908 -0.1283)
OKLCHoklch(62.95% 0.23 326.1)
XYZxyz(38.2646, 21.5587, 62.4550)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45D1 #4BD145
analogous
#8545D1 #CB45D1 #D14591
triadic
#CB45D1 #D1CB45 #45D1CB
tetradic
#CB45D1 #D18545 #4BD145 #4591D1
square
#CB45D1 #D18545 #4BD145 #4591D1
split-complementary
#CB45D1 #91D145 #45D185
monochromatic
#791F7D #A82BAE #CB45D1 #D976DD #E6A7E9

Accessibility & contrast

On white

3.95
#CB45D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CB45D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45D1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45D1#FFFFFF#000000##000000
##CB45D11.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A75D5
Deuteranopia (green-blind)
#6386CD
Tritanopia (blue-blind)
#D05A86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb45d1;
/* rgb */ color: rgb(203, 69, 209);
/* oklch */ color: oklch(63.0% 0.230 326.1);
Tailwind
colors: {
  custom: {
    50: '#de83df',
    500: '#cb45d1',
    950: '#000000',
  },
}
SCSS
$custom: #cb45d1;
$custom-light: #de83df;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45d1",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 297.429,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62952,
    "c": 0.22992,
    "h": 326.1
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#CB45D1
secondary
#9ED79B
accent
#E3444B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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