#CB3AB3#CB3AB3

#CB3AB3 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.220 H 335.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CB3AB3
RGBrgb(203, 58, 179)
HSLhsl(310, 58%, 51%)
HSVhsv(310, 71%, 80%)
CMYKcmyk(0%, 71.4%, 11.8%, 20.4%)
CIE-LABlab(50.66, 68.56, -33.48)
CIE-LCHlch(50.66, 76.30, 333.97°)
OKLaboklab(60.38% 0.2004 -0.0913)
OKLCHoklch(60.38% 0.22 335.5)
XYZxyz(34.2788, 18.9803, 44.4973)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3AB3 #3ACB52
analogous
#9A3ACB #CB3AB3 #CB3A6A
triadic
#CB3AB3 #B3CB3A #3AB3CB
tetradic
#CB3AB3 #CB9A3A #3ACB52 #3A6ACB
square
#CB3AB3 #CB9A3A #3ACB52 #3A6ACB
split-complementary
#CB3AB3 #6ACB3A #3ACB9A
monochromatic
#6E1D60 #9E2A8B #CB3AB3 #D86AC6 #E59BD8

Accessibility & contrast

On white

4.38
#CB3AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CB3AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3AB3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3AB3#FFFFFF#000000##000000
##CB3AB31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB6
Deuteranopia (green-blind)
#6D80B0
Tritanopia (blue-blind)
#D54572
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb3ab3;
/* rgb */ color: rgb(203, 58, 179);
/* oklch */ color: oklch(60.4% 0.220 335.5);
Tailwind
colors: {
  custom: {
    50: '#df7dca',
    500: '#cb3ab3',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ab3;
$custom-light: #df7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ab3",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 309.931,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.22023,
    "h": 335.5
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#CB3AB3
secondary
#90D09B
accent
#E16046
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB3AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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