#CB3AB7#CB3AB7

#CB3AB7 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.6% C 0.223 H 334.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CB3AB7
RGBrgb(203, 58, 183)
HSLhsl(308, 58%, 51%)
HSVhsv(308, 71%, 80%)
CMYKcmyk(0%, 71.4%, 9.9%, 20.4%)
CIE-LABlab(50.86, 69.15, -35.52)
CIE-LCHlch(50.86, 77.73, 332.81°)
OKLaboklab(60.58% 0.2007 -0.0972)
OKLCHoklch(60.58% 0.223 334.2)
XYZxyz(34.6892, 19.1445, 46.6588)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3AB7 #3ACB4E
analogous
#963ACB #CB3AB7 #CB3A6E
triadic
#CB3AB7 #B7CB3A #3AB7CB
tetradic
#CB3AB7 #CB963A #3ACB4E #3A6ECB
square
#CB3AB7 #CB963A #3ACB4E #3A6ECB
split-complementary
#CB3AB7 #6ECB3A #3ACB96
monochromatic
#6E1D63 #9E2A8E #CB3AB7 #D86AC9 #E59BDA

Accessibility & contrast

On white

4.35
#CB3AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CB3AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3AB7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3AB7#FFFFFF#000000##000000
##CB3AB71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#376CBA
Deuteranopia (green-blind)
#6B81B3
Tritanopia (blue-blind)
#D54774
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb3ab7;
/* rgb */ color: rgb(203, 58, 183);
/* oklch */ color: oklch(60.6% 0.223 334.2);
Tailwind
colors: {
  custom: {
    50: '#df7dcd',
    500: '#cb3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ab7;
$custom-light: #df7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ab7",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 308.276,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.22303,
    "h": 334.2
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#CB3AB7
secondary
#90D099
accent
#E15C46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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