#9B258C#9B258C

#9B258C is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.189 H 333.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9B258C
RGBrgb(155, 37, 140)
HSLhsl(308, 61%, 38%)
HSVhsv(308, 76%, 61%)
CMYKcmyk(0%, 76.1%, 9.7%, 39.2%)
CIE-LABlab(38.18, 58.39, -30.32)
CIE-LCHlch(38.18, 65.79, 332.56°)
OKLaboklab(49.2% 0.1694 -0.0831)
OKLCHoklch(49.2% 0.189 333.9)
XYZxyz(18.9129, 10.1868, 25.7760)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B258C #259B34
analogous
#6F259B #9B258C #9B2551
triadic
#9B258C #8C9B25 #258C9B
tetradic
#9B258C #9B6F25 #259B34 #25519B
square
#9B258C #9B6F25 #259B34 #25519B
split-complementary
#9B258C #519B25 #259B6F
monochromatic
#380D33 #6A195F #9B258C #CC31B9 #D961CA

Accessibility & contrast

On white

6.91
#9B258C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9B258C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B258C
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B258C#FFFFFF#000000##FFFFFF
##9B258C1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#A23156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b258c;
/* rgb */ color: rgb(155, 37, 140);
/* oklch */ color: oklch(49.2% 0.189 333.9);
Tailwind
colors: {
  custom: {
    50: '#bc6dae',
    500: '#9b258c',
    950: '#000000',
  },
}
SCSS
$custom: #9b258c;
$custom-light: #bc6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b258c",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 307.627,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.18864,
    "h": 333.9
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B258C

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

Preview Lab → · Contrast checker → · Palette generator →

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