#9B2FB2#9B2FB2

#9B2FB2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.208 H 319.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9B2FB2
RGBrgb(155, 47, 178)
HSLhsl(289, 58%, 44%)
HSVhsv(289, 74%, 70%)
CMYKcmyk(12.9%, 73.6%, 0%, 30.2%)
CIE-LABlab(41.56, 61.52, -47.81)
CIE-LCHlch(41.56, 77.92, 322.15°)
OKLaboklab(52.33% 0.1593 -0.134)
OKLCHoklch(52.33% 0.208 319.9)
XYZxyz(22.5690, 12.2171, 43.2802)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FB2 #46B22F
analogous
#5A2FB2 #9B2FB2 #B22F88
triadic
#9B2FB2 #B29B2F #2FB29B
tetradic
#9B2FB2 #B25A2F #46B22F #2F88B2
square
#9B2FB2 #B25A2F #46B22F #2F88B2
split-complementary
#9B2FB2 #88B22F #2FB25A
monochromatic
#471551 #712282 #9B2FB2 #B94ED0 #CC7EDD

Accessibility & contrast

On white

6.10
#9B2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9B2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FB2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FB2#FFFFFF#000000##FFFFFF
##9B2FB21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#9B496E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2fb2;
/* rgb */ color: rgb(155, 47, 178);
/* oklch */ color: oklch(52.3% 0.208 319.9);
Tailwind
colors: {
  custom: {
    50: '#bc72ca',
    500: '#9b2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fb2;
$custom-light: #bc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fb2",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 289.466,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52329,
    "c": 0.20817,
    "h": 319.9
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#9B2FB2
secondary
#85C677
accent
#E14662
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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