#9B2FA8#9B2FA8

#9B2FA8 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.200 H 323.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9B2FA8
RGBrgb(155, 47, 168)
HSLhsl(294, 56%, 42%)
HSVhsv(294, 72%, 66%)
CMYKcmyk(7.7%, 72%, 0%, 34.1%)
CIE-LABlab(40.94, 59.68, -42.86)
CIE-LCHlch(40.94, 73.47, 324.32°)
OKLaboklab(51.69% 0.1599 -0.1195)
OKLCHoklch(51.69% 0.2 323.2)
XYZxyz(21.6013, 11.8300, 38.1838)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FA8 #3CA82F
analogous
#5F2FA8 #9B2FA8 #A82F78
triadic
#9B2FA8 #A89B2F #2FA89B
tetradic
#9B2FA8 #A85F2F #3CA82F #2F78A8
square
#9B2FA8 #A85F2F #3CA82F #2F78A8
split-complementary
#9B2FA8 #78A82F #2FA85F
monochromatic
#431448 #6F2278 #9B2FA8 #BE48CC #CF78D9

Accessibility & contrast

On white

6.24
#9B2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9B2FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FA8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FA8#FFFFFF#000000##FFFFFF
##9B2FA81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4365A5
Tritanopia (blue-blind)
#9D4469
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2fa8;
/* rgb */ color: rgb(155, 47, 168);
/* oklch */ color: oklch(51.7% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#bc72c2',
    500: '#9b2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fa8;
$custom-light: #bc72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fa8",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 293.554,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.19965,
    "h": 323.2
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#9B2FA8
secondary
#7AC171
accent
#E04858
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9B2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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