#CB3AB8#CB3AB8

#CB3AB8 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.224 H 333.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CB3AB8
RGBrgb(203, 58, 184)
HSLhsl(308, 58%, 51%)
HSVhsv(308, 71%, 80%)
CMYKcmyk(0%, 71.4%, 9.4%, 20.4%)
CIE-LABlab(50.90, 69.30, -36.02)
CIE-LCHlch(50.90, 78.10, 332.53°)
OKLaboklab(60.63% 0.2008 -0.0986)
OKLCHoklch(60.63% 0.224 333.8)
XYZxyz(34.7937, 19.1863, 47.2089)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3AB8 #3ACB4D
analogous
#953ACB #CB3AB8 #CB3A6F
triadic
#CB3AB8 #B8CB3A #3AB8CB
tetradic
#CB3AB8 #CB953A #3ACB4D #3A6FCB
square
#CB3AB8 #CB953A #3ACB4D #3A6FCB
split-complementary
#CB3AB8 #6FCB3A #3ACB95
monochromatic
#6E1D63 #9E2A8F #CB3AB8 #D86AC9 #E59BDB

Accessibility & contrast

On white

4.34
#CB3AB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CB3AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3AB8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3AB8#FFFFFF#000000##000000
##CB3AB81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#366CBB
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#D44775
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb3ab8;
/* rgb */ color: rgb(203, 58, 184);
/* oklch */ color: oklch(60.6% 0.224 333.8);
Tailwind
colors: {
  custom: {
    50: '#df7dcd',
    500: '#cb3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ab8;
$custom-light: #df7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ab8",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 307.862,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.22373,
    "h": 333.8
  },
  "luminance": 0.19183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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