#9B258A#9B258A

#9B258A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.187 H 334.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9B258A
RGBrgb(155, 37, 138)
HSLhsl(309, 61%, 38%)
HSVhsv(309, 76%, 61%)
CMYKcmyk(0%, 76.1%, 11%, 39.2%)
CIE-LABlab(38.07, 58.08, -29.25)
CIE-LCHlch(38.07, 65.03, 333.27°)
OKLaboklab(49.09% 0.1692 -0.08)
OKLCHoklch(49.09% 0.187 334.7)
XYZxyz(18.7668, 10.1283, 25.0064)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B258A #259B36
analogous
#71259B #9B258A #9B254F
triadic
#9B258A #8A9B25 #258A9B
tetradic
#9B258A #9B7125 #259B36 #254F9B
square
#9B258A #9B7125 #259B36 #254F9B
split-complementary
#9B258A #4F9B25 #259B71
monochromatic
#380D32 #6A195E #9B258A #CC31B6 #D961C8

Accessibility & contrast

On white

6.94
#9B258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9B258A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B258A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B258A#FFFFFF#000000##FFFFFF
##9B258A1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#A33055
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b258a;
/* rgb */ color: rgb(155, 37, 138);
/* oklch */ color: oklch(49.1% 0.187 334.7);
Tailwind
colors: {
  custom: {
    50: '#bc6dac',
    500: '#9b258a',
    950: '#000000',
  },
}
SCSS
$custom: #9b258a;
$custom-light: #bc6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b258a",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 308.644,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49094,
    "c": 0.1872,
    "h": 334.7
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#9B258A
secondary
#5DBF6B
accent
#E55A43
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B258A

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

Preview Lab → · Contrast checker → · Palette generator →

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