#CB45B5#CB45B5

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

Color values

HEX#CB45B5
RGBrgb(203, 69, 181)
HSLhsl(310, 56%, 53%)
HSVhsv(310, 66%, 80%)
CMYKcmyk(0%, 66%, 10.8%, 20.4%)
CIE-LABlab(52.17, 64.90, -32.30)
CIE-LCHlch(52.17, 72.49, 333.54°)
OKLaboklab(61.5% 0.1889 -0.0881)
OKLCHoklch(61.5% 0.208 335)
XYZxyz(35.0976, 20.2919, 45.7753)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45B5 #45CB5B
analogous
#9E45CB #CB45B5 #CB4572
triadic
#CB45B5 #B5CB45 #45B5CB
tetradic
#CB45B5 #CB9E45 #45CB5B #4572CB
square
#CB45B5 #CB9E45 #45CB5B #4572CB
split-complementary
#CB45B5 #72CB45 #45CB9E
monochromatic
#752167 #A52E91 #CB45B5 #D875C8 #E6A5DB

Accessibility & contrast

On white

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

On black

5.06
#CB45B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45B5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45B5#FFFFFF#000000##000000
##CB45B51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4570B8
Deuteranopia (green-blind)
#7184B2
Tritanopia (blue-blind)
#D54E77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb45b5;
/* rgb */ color: rgb(203, 69, 181);
/* oklch */ color: oklch(61.5% 0.208 335.0);
Tailwind
colors: {
  custom: {
    50: '#de82cb',
    500: '#cb45b5',
    950: '#000000',
  },
}
SCSS
$custom: #cb45b5;
$custom-light: #de82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45b5",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 309.851,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.20843,
    "h": 335
  },
  "luminance": 0.20289
}

Semantic roles & 50–950 ramp

primary
#CB45B5
secondary
#99D3A3
accent
#E06148
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB45B5

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

Preview Lab → · Contrast checker → · Palette generator →

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