#CB45B8#CB45B8

#CB45B8 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.211 H 334.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB45B8
RGBrgb(203, 69, 184)
HSLhsl(309, 56%, 53%)
HSVhsv(309, 66%, 80%)
CMYKcmyk(0%, 66%, 9.4%, 20.4%)
CIE-LABlab(52.30, 65.36, -33.83)
CIE-LCHlch(52.30, 73.59, 332.64°)
OKLaboklab(61.64% 0.1893 -0.0924)
OKLCHoklch(61.64% 0.211 334)
XYZxyz(35.4087, 20.4163, 47.4139)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45B8 #45CB58
analogous
#9B45CB #CB45B8 #CB4575
triadic
#CB45B8 #B8CB45 #45B8CB
tetradic
#CB45B8 #CB9B45 #45CB58 #4575CB
square
#CB45B8 #CB9B45 #45CB58 #4575CB
split-complementary
#CB45B8 #75CB45 #45CB9B
monochromatic
#752169 #A52E94 #CB45B8 #D875CA #E6A5DD

Accessibility & contrast

On white

4.13
#CB45B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB45B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45B8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45B8#FFFFFF#000000##000000
##CB45B81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4370BB
Deuteranopia (green-blind)
#7084B5
Tritanopia (blue-blind)
#D45079
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb45b8;
/* rgb */ color: rgb(203, 69, 184);
/* oklch */ color: oklch(61.6% 0.211 334.0);
Tailwind
colors: {
  custom: {
    50: '#de83cd',
    500: '#cb45b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb45b8;
$custom-light: #de83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45b8",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 308.507,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.21062,
    "h": 334
  },
  "luminance": 0.20413
}

Semantic roles & 50–950 ramp

primary
#CB45B8
secondary
#99D3A1
accent
#E05E48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB45B8

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

Preview Lab → · Contrast checker → · Palette generator →

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