#9B2FB4#9B2FB4

#9B2FB4 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.210 H 319.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9B2FB4
RGBrgb(155, 47, 180)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 74%, 71%)
CMYKcmyk(13.9%, 73.9%, 0%, 29.4%)
CIE-LABlab(41.69, 61.90, -48.79)
CIE-LCHlch(41.69, 78.81, 321.75°)
OKLaboklab(52.46% 0.1591 -0.1369)
OKLCHoklch(52.46% 0.21 319.3)
XYZxyz(22.7712, 12.2980, 44.3455)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FB4 #48B42F
analogous
#592FB4 #9B2FB4 #B42F8B
triadic
#9B2FB4 #B49B2F #2FB49B
tetradic
#9B2FB4 #B4592F #48B42F #2F8BB4
square
#9B2FB4 #B4592F #48B42F #2F8BB4
split-complementary
#9B2FB4 #8BB42F #2FB459
monochromatic
#471653 #712283 #9B2FB4 #B94FD1 #CC80DE

Accessibility & contrast

On white

6.07
#9B2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9B2FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FB4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FB4#FFFFFF#000000##FFFFFF
##9B2FB41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3966B1
Tritanopia (blue-blind)
#9B4A6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2fb4;
/* rgb */ color: rgb(155, 47, 180);
/* oklch */ color: oklch(52.5% 0.210 319.3);
Tailwind
colors: {
  custom: {
    50: '#bc73cb',
    500: '#9b2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fb4;
$custom-light: #bc73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fb4",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 288.722,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.20989,
    "h": 319.3
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#9B2FB4
secondary
#87C778
accent
#E24663
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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