#CB45C7#CB45C7

#CB45C7 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.4% C 0.222 H 329.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CB45C7
RGBrgb(203, 69, 199)
HSLhsl(302, 56%, 53%)
HSVhsv(302, 66%, 80%)
CMYKcmyk(0%, 66%, 2%, 20.4%)
CIE-LABlab(53.04, 67.73, -41.35)
CIE-LCHlch(53.04, 79.35, 328.60°)
OKLaboklab(62.41% 0.1905 -0.1141)
OKLCHoklch(62.41% 0.222 329.1)
XYZxyz(37.0652, 21.0789, 56.1382)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45C7 #45CB49
analogous
#8C45CB #CB45C7 #CB4584
triadic
#CB45C7 #C7CB45 #45C7CB
tetradic
#CB45C7 #CB8C45 #45CB49 #4584CB
square
#CB45C7 #CB8C45 #45CB49 #4584CB
split-complementary
#CB45C7 #84CB45 #45CB8C
monochromatic
#752172 #A52EA1 #CB45C7 #D875D5 #E6A5E4

Accessibility & contrast

On white

4.03
#CB45C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CB45C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45C7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45C7#FFFFFF#000000##000000
##CB45C71.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3673CB
Deuteranopia (green-blind)
#6985C3
Tritanopia (blue-blind)
#D25680
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb45c7;
/* rgb */ color: rgb(203, 69, 199);
/* oklch */ color: oklch(62.4% 0.222 329.1);
Tailwind
colors: {
  custom: {
    50: '#de83d8',
    500: '#cb45c7',
    950: '#000000',
  },
}
SCSS
$custom: #cb45c7;
$custom-light: #de83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45c7",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 301.791,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62408,
    "c": 0.222,
    "h": 329.1
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#CB45C7
secondary
#99D39B
accent
#E04D48
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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