#CB45B6#CB45B6

#CB45B6 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.5% C 0.209 H 334.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CB45B6
RGBrgb(203, 69, 182)
HSLhsl(309, 56%, 53%)
HSVhsv(309, 66%, 80%)
CMYKcmyk(0%, 66%, 10.3%, 20.4%)
CIE-LABlab(52.21, 65.05, -32.81)
CIE-LCHlch(52.21, 72.85, 333.24°)
OKLaboklab(61.54% 0.189 -0.0895)
OKLCHoklch(61.54% 0.209 334.7)
XYZxyz(35.2005, 20.3331, 46.3176)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45B6 #45CB5A
analogous
#9D45CB #CB45B6 #CB4573
triadic
#CB45B6 #B6CB45 #45B6CB
tetradic
#CB45B6 #CB9D45 #45CB5A #4573CB
square
#CB45B6 #CB9D45 #45CB5A #4573CB
split-complementary
#CB45B6 #73CB45 #45CB9D
monochromatic
#752168 #A52E92 #CB45B6 #D875C9 #E6A5DC

Accessibility & contrast

On white

4.15
#CB45B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CB45B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45B6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45B6#FFFFFF#000000##000000
##CB45B61.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4470B9
Deuteranopia (green-blind)
#7184B3
Tritanopia (blue-blind)
#D44F77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb45b6;
/* rgb */ color: rgb(203, 69, 182);
/* oklch */ color: oklch(61.5% 0.209 334.7);
Tailwind
colors: {
  custom: {
    50: '#de83cc',
    500: '#cb45b6',
    950: '#000000',
  },
}
SCSS
$custom: #cb45b6;
$custom-light: #de83cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45b6",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 309.403,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61544,
    "c": 0.20916,
    "h": 334.7
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

primary
#CB45B6
secondary
#99D3A2
accent
#E06048
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB45B6

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

Preview Lab → · Contrast checker → · Palette generator →

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