#CB3AB4#CB3AB4

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

Color values

HEX#CB3AB4
RGBrgb(203, 58, 180)
HSLhsl(310, 58%, 51%)
HSVhsv(310, 71%, 80%)
CMYKcmyk(0%, 71.4%, 11.3%, 20.4%)
CIE-LABlab(50.71, 68.70, -33.99)
CIE-LCHlch(50.71, 76.65, 333.68°)
OKLaboklab(60.43% 0.2005 -0.0928)
OKLCHoklch(60.43% 0.221 335.2)
XYZxyz(34.3803, 19.0209, 45.0319)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3AB4 #3ACB51
analogous
#993ACB #CB3AB4 #CB3A6B
triadic
#CB3AB4 #B4CB3A #3AB4CB
tetradic
#CB3AB4 #CB993A #3ACB51 #3A6BCB
square
#CB3AB4 #CB993A #3ACB51 #3A6BCB
split-complementary
#CB3AB4 #6BCB3A #3ACB99
monochromatic
#6E1D61 #9E2A8C #CB3AB4 #D86AC6 #E59BD9

Accessibility & contrast

On white

4.37
#CB3AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB3AB4#FFFFFF#000000##000000
##CB3AB41.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#6D80B1
Tritanopia (blue-blind)
#D54573
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb3ab4;
/* rgb */ color: rgb(203, 58, 180);
/* oklch */ color: oklch(60.4% 0.221 335.2);
Tailwind
colors: {
  custom: {
    50: '#df7dcb',
    500: '#cb3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ab4;
$custom-light: #df7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ab4",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 309.517,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.22092,
    "h": 335.2
  },
  "luminance": 0.19018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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