#CB45B9#CB45B9

#CB45B9 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.211 H 333.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CB45B9
RGBrgb(203, 69, 185)
HSLhsl(308, 56%, 53%)
HSVhsv(308, 66%, 80%)
CMYKcmyk(0%, 66%, 8.9%, 20.4%)
CIE-LABlab(52.35, 65.51, -34.33)
CIE-LCHlch(52.35, 73.96, 332.34°)
OKLaboklab(61.69% 0.1894 -0.0939)
OKLCHoklch(61.69% 0.211 333.6)
XYZxyz(35.5139, 20.4584, 47.9679)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45B9 #45CB57
analogous
#9A45CB #CB45B9 #CB4576
triadic
#CB45B9 #B9CB45 #45B9CB
tetradic
#CB45B9 #CB9A45 #45CB57 #4576CB
square
#CB45B9 #CB9A45 #45CB57 #4576CB
split-complementary
#CB45B9 #76CB45 #45CB9A
monochromatic
#75216A #A52E95 #CB45B9 #D875CB #E6A5DD

Accessibility & contrast

On white

4.12
#CB45B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CB45B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45B9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45B9#FFFFFF#000000##000000
##CB45B91.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4270BC
Deuteranopia (green-blind)
#6F84B6
Tritanopia (blue-blind)
#D45079
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb45b9;
/* rgb */ color: rgb(203, 69, 185);
/* oklch */ color: oklch(61.7% 0.211 333.6);
Tailwind
colors: {
  custom: {
    50: '#de83ce',
    500: '#cb45b9',
    950: '#000000',
  },
}
SCSS
$custom: #cb45b9;
$custom-light: #de83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45b9",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 308.06,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61691,
    "c": 0.21135,
    "h": 333.6
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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