#CB3ABA#CB3ABA

#CB3ABA is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.225 H 333.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB3ABA
RGBrgb(203, 58, 186)
HSLhsl(307, 58%, 51%)
HSVhsv(307, 71%, 80%)
CMYKcmyk(0%, 71.4%, 8.4%, 20.4%)
CIE-LABlab(51.00, 69.60, -37.03)
CIE-LCHlch(51.00, 78.83, 331.98°)
OKLaboklab(60.73% 0.201 -0.1015)
OKLCHoklch(60.73% 0.225 333.2)
XYZxyz(35.0048, 19.2707, 48.3209)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3ABA #3ACB4B
analogous
#933ACB #CB3ABA #CB3A71
triadic
#CB3ABA #BACB3A #3ABACB
tetradic
#CB3ABA #CB933A #3ACB4B #3A71CB
square
#CB3ABA #CB933A #3ACB4B #3A71CB
split-complementary
#CB3ABA #71CB3A #3ACB93
monochromatic
#6E1D64 #9E2A90 #CB3ABA #D86ACB #E59BDC

Accessibility & contrast

On white

4.33
#CB3ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CB3ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3ABA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3ABA#FFFFFF#000000##000000
##CB3ABA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#6A81B6
Tritanopia (blue-blind)
#D44876
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb3aba;
/* rgb */ color: rgb(203, 58, 186);
/* oklch */ color: oklch(60.7% 0.225 333.2);
Tailwind
colors: {
  custom: {
    50: '#df7ecf',
    500: '#cb3aba',
    950: '#000000',
  },
}
SCSS
$custom: #cb3aba;
$custom-light: #df7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3aba",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 307.034,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60731,
    "c": 0.22516,
    "h": 333.2
  },
  "luminance": 0.19268
}

Semantic roles & 50–950 ramp

primary
#CB3ABA
secondary
#90D098
accent
#E15946
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CB3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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