#9B258B#9B258B

#9B258B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.188 H 334.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9B258B
RGBrgb(155, 37, 139)
HSLhsl(308, 61%, 38%)
HSVhsv(308, 76%, 61%)
CMYKcmyk(0%, 76.1%, 10.3%, 39.2%)
CIE-LABlab(38.12, 58.24, -29.78)
CIE-LCHlch(38.12, 65.41, 332.91°)
OKLaboklab(49.15% 0.1693 -0.0816)
OKLCHoklch(49.15% 0.188 334.3)
XYZxyz(18.8395, 10.1574, 25.3895)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B258B #259B35
analogous
#70259B #9B258B #9B2550
triadic
#9B258B #8B9B25 #258B9B
tetradic
#9B258B #9B7025 #259B35 #25509B
square
#9B258B #9B7025 #259B35 #25509B
split-complementary
#9B258B #509B25 #259B70
monochromatic
#380D32 #6A195F #9B258B #CC31B7 #D961C9

Accessibility & contrast

On white

6.93
#9B258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B258B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B258B#FFFFFF#000000##FFFFFF
##9B258B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A33056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b258b;
/* rgb */ color: rgb(155, 37, 139);
/* oklch */ color: oklch(49.1% 0.188 334.3);
Tailwind
colors: {
  custom: {
    50: '#bc6dad',
    500: '#9b258b',
    950: '#000000',
  },
}
SCSS
$custom: #9b258b;
$custom-light: #bc6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b258b",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 308.136,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.18791,
    "h": 334.3
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#9B258B
secondary
#5DBF6A
accent
#E55943
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B258B

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

Preview Lab → · Contrast checker → · Palette generator →

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