#9B259A#9B259A

#9B259A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.199 H 328.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9B259A
RGBrgb(155, 37, 154)
HSLhsl(301, 61%, 38%)
HSVhsv(301, 76%, 61%)
CMYKcmyk(0%, 76.1%, 0.6%, 39.2%)
CIE-LABlab(38.94, 60.63, -37.63)
CIE-LCHlch(38.94, 71.36, 328.17°)
OKLaboklab(50% 0.1697 -0.1043)
OKLCHoklch(50% 0.199 328.4)
XYZxyz(20.0117, 10.6263, 31.5627)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B259A #259B26
analogous
#61259B #9B259A #9B255F
triadic
#9B259A #9A9B25 #259A9B
tetradic
#9B259A #9B6125 #259B26 #255F9B
square
#9B259A #9B6125 #259B26 #255F9B
split-complementary
#9B259A #5F9B25 #259B61
monochromatic
#380D38 #6A1969 #9B259A #CC31CB #D961D8

Accessibility & contrast

On white

6.72
#9B259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9B259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B259A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B259A#FFFFFF#000000##FFFFFF
##9B259A1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529D
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#A0385E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b259a;
/* rgb */ color: rgb(155, 37, 154);
/* oklch */ color: oklch(50.0% 0.199 328.4);
Tailwind
colors: {
  custom: {
    50: '#bc6db8',
    500: '#9b259a',
    950: '#000000',
  },
}
SCSS
$custom: #9b259a;
$custom-light: #bc6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b259a",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 300.508,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.19915,
    "h": 328.4
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#9B259A
secondary
#5DBF5E
accent
#E54543
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B259A

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

Preview Lab → · Contrast checker → · Palette generator →

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