#9B2BD3#9B2BD3

#9B2BD3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.3% C 0.241 H 310.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9B2BD3
RGBrgb(155, 43, 211)
HSLhsl(280, 66%, 50%)
HSVhsv(280, 80%, 83%)
CMYKcmyk(26.5%, 79.6%, 0%, 17.3%)
CIE-LABlab(43.36, 69.28, -64.16)
CIE-LCHlch(43.36, 94.43, 317.20°)
OKLaboklab(54.32% 0.1574 -0.182)
OKLCHoklch(54.32% 0.241 310.9)
XYZxyz(26.1370, 13.4001, 62.8250)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BD3 #63D32B
analogous
#472BD3 #9B2BD3 #D32BB7
triadic
#9B2BD3 #D39B2B #2BD39B
tetradic
#9B2BD3 #D3472B #63D32B #2BB7D3
square
#9B2BD3 #D3472B #63D32B #2BB7D3
split-complementary
#9B2BD3 #B7D32B #2BD347
monochromatic
#50166D #7621A0 #9B2BD3 #B35DDE #CB90E8

Accessibility & contrast

On white

5.71
#9B2BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9B2BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BD3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BD3#FFFFFF#000000##FFFFFF
##9B2BD31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#935680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b2bd3;
/* rgb */ color: rgb(155, 43, 211);
/* oklch */ color: oklch(54.3% 0.241 310.9);
Tailwind
colors: {
  custom: {
    50: '#be72e1',
    500: '#9b2bd3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bd3;
$custom-light: #be72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bd3",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 211
  },
  "hsl": {
    "h": 280,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.24062,
    "h": 310.9
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#9B2BD3
secondary
#A0D387
accent
#E93F78
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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