#9B2CBC#9B2CBC

#9B2CBC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.220 H 317.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9B2CBC
RGBrgb(155, 44, 188)
HSLhsl(286, 62%, 45%)
HSVhsv(286, 77%, 74%)
CMYKcmyk(17.6%, 76.6%, 0%, 26.3%)
CIE-LABlab(41.85, 64.45, -53.24)
CIE-LCHlch(41.85, 83.59, 320.44°)
OKLaboklab(52.74% 0.1609 -0.1499)
OKLCHoklch(52.74% 0.22 317)
XYZxyz(23.4940, 12.4018, 48.7234)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CBC #4DBC2C
analogous
#532CBC #9B2CBC #BC2C95
triadic
#9B2CBC #BC9B2C #2CBC9B
tetradic
#9B2CBC #BC532C #4DBC2C #2C95BC
square
#9B2CBC #BC532C #4DBC2C #2C95BC
split-complementary
#9B2CBC #95BC2C #2CBC53
monochromatic
#491559 #72208A #9B2CBC #B74FD6 #CB81E1

Accessibility & contrast

On white

6.03
#9B2CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9B2CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CBC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CBC#FFFFFF#000000##FFFFFF
##9B2CBC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#994C73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2cbc;
/* rgb */ color: rgb(155, 44, 188);
/* oklch */ color: oklch(52.7% 0.220 317.0);
Tailwind
colors: {
  custom: {
    50: '#bd72d1',
    500: '#9b2cbc',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cbc;
$custom-light: #bd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cbc",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 286.25,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.21988,
    "h": 317
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

primary
#9B2CBC
secondary
#8CCA79
accent
#E54368
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9B2CBC

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

Preview Lab → · Contrast checker → · Palette generator →

#9B2CBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva