#9B2DBF#9B2DBF

#9B2DBF is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.221 H 316.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9B2DBF
RGBrgb(155, 45, 191)
HSLhsl(285, 62%, 46%)
HSVhsv(285, 76%, 75%)
CMYKcmyk(18.8%, 76.4%, 0%, 25.1%)
CIE-LABlab(42.17, 64.69, -54.48)
CIE-LCHlch(42.17, 84.58, 319.90°)
OKLaboklab(53.03% 0.1596 -0.1536)
OKLCHoklch(53.03% 0.221 316.1)
XYZxyz(23.8585, 12.6079, 50.4569)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DBF #51BF2D
analogous
#522DBF #9B2DBF #BF2D9A
triadic
#9B2DBF #BF9B2D #2DBF9B
tetradic
#9B2DBF #BF522D #51BF2D #2D9ABF
square
#9B2DBF #BF522D #51BF2D #2D9ABF
split-complementary
#9B2DBF #9ABF2D #2DBF52
monochromatic
#4B165C #73218D #9B2DBF #B653D6 #CB84E2

Accessibility & contrast

On white

5.96
#9B2DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9B2DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DBF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DBF#FFFFFF#000000##FFFFFF
##9B2DBF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2B66BC
Tritanopia (blue-blind)
#994E75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2dbf;
/* rgb */ color: rgb(155, 45, 191);
/* oklch */ color: oklch(53.0% 0.221 316.1);
Tailwind
colors: {
  custom: {
    50: '#bd72d3',
    500: '#9b2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dbf;
$custom-light: #bd72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dbf",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 285.205,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.22147,
    "h": 316.1
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#9B2DBF
secondary
#90CB7C
accent
#E5436B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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