#CB45C5#CB45C5

#CB45C5 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.3% C 0.220 H 329.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CB45C5
RGBrgb(203, 69, 197)
HSLhsl(303, 56%, 53%)
HSVhsv(303, 66%, 80%)
CMYKcmyk(0%, 66%, 3%, 20.4%)
CIE-LABlab(52.93, 67.40, -40.35)
CIE-LCHlch(52.93, 78.56, 329.09°)
OKLaboklab(62.3% 0.1903 -0.1112)
OKLCHoklch(62.3% 0.22 329.7)
XYZxyz(36.8345, 20.9866, 54.9233)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45C5 #45CB4B
analogous
#8E45CB #CB45C5 #CB4582
triadic
#CB45C5 #C5CB45 #45C5CB
tetradic
#CB45C5 #CB8E45 #45CB4B #4582CB
square
#CB45C5 #CB8E45 #45CB4B #4582CB
split-complementary
#CB45C5 #82CB45 #45CB8E
monochromatic
#752171 #A52E9F #CB45C5 #D875D4 #E6A5E3

Accessibility & contrast

On white

4.04
#CB45C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CB45C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45C5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45C5#FFFFFF#000000##000000
##CB45C51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3873C9
Deuteranopia (green-blind)
#6A85C2
Tritanopia (blue-blind)
#D2557F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb45c5;
/* rgb */ color: rgb(203, 69, 197);
/* oklch */ color: oklch(62.3% 0.220 329.7);
Tailwind
colors: {
  custom: {
    50: '#de83d7',
    500: '#cb45c5',
    950: '#000000',
  },
}
SCSS
$custom: #cb45c5;
$custom-light: #de83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45c5",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 302.687,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62303,
    "c": 0.22045,
    "h": 329.7
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#CB45C5
secondary
#99D39C
accent
#E04F48
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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