#CB45C2#CB45C2

#CB45C2 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.1% C 0.218 H 330.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CB45C2
RGBrgb(203, 69, 194)
HSLhsl(304, 56%, 53%)
HSVhsv(304, 66%, 80%)
CMYKcmyk(0%, 66%, 4.4%, 20.4%)
CIE-LABlab(52.79, 66.92, -38.86)
CIE-LCHlch(52.79, 77.39, 329.86°)
OKLaboklab(62.15% 0.1902 -0.1069)
OKLCHoklch(62.15% 0.218 330.7)
XYZxyz(36.4942, 20.8505, 53.1309)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45C2 #45CB4E
analogous
#9145CB #CB45C2 #CB457F
triadic
#CB45C2 #C2CB45 #45C2CB
tetradic
#CB45C2 #CB9145 #45CB4E #457FCB
square
#CB45C2 #CB9145 #45CB4E #457FCB
split-complementary
#CB45C2 #7FCB45 #45CB91
monochromatic
#75216F #A52E9D #CB45C2 #D875D2 #E6A5E1

Accessibility & contrast

On white

4.06
#CB45C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CB45C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45C2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45C2#FFFFFF#000000##000000
##CB45C21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C6
Deuteranopia (green-blind)
#6B85BF
Tritanopia (blue-blind)
#D3547E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb45c2;
/* rgb */ color: rgb(203, 69, 194);
/* oklch */ color: oklch(62.1% 0.218 330.7);
Tailwind
colors: {
  custom: {
    50: '#de83d5',
    500: '#cb45c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb45c2;
$custom-light: #de83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45c2",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 304.03,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62146,
    "c": 0.21814,
    "h": 330.7
  },
  "luminance": 0.20848
}

Semantic roles & 50–950 ramp

primary
#CB45C2
secondary
#99D39D
accent
#E05248
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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