#9B258D#9B258D

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

Color values

HEX#9B258D
RGBrgb(155, 37, 141)
HSLhsl(307, 61%, 38%)
HSVhsv(307, 76%, 61%)
CMYKcmyk(0%, 76.1%, 9%, 39.2%)
CIE-LABlab(38.23, 58.55, -30.85)
CIE-LCHlch(38.23, 66.17, 332.22°)
OKLaboklab(49.26% 0.1694 -0.0846)
OKLCHoklch(49.26% 0.189 333.5)
XYZxyz(18.9870, 10.2164, 26.1661)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B258D #259B33
analogous
#6E259B #9B258D #9B2552
triadic
#9B258D #8D9B25 #258D9B
tetradic
#9B258D #9B6E25 #259B33 #25529B
square
#9B258D #9B6E25 #259B33 #25529B
split-complementary
#9B258D #529B25 #259B6E
monochromatic
#380D33 #6A1960 #9B258D #CC31BA #D961CB

Accessibility & contrast

On white

6.90
#9B258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B258D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B258D#FFFFFF#000000##FFFFFF
##9B258D1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A23157
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b258d;
/* rgb */ color: rgb(155, 37, 141);
/* oklch */ color: oklch(49.3% 0.189 333.5);
Tailwind
colors: {
  custom: {
    50: '#bc6dae',
    500: '#9b258d',
    950: '#000000',
  },
}
SCSS
$custom: #9b258d;
$custom-light: #bc6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b258d",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 307.119,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.18938,
    "h": 333.5
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#9B258D
secondary
#5DBF69
accent
#E55643
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B258D

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

Preview Lab → · Contrast checker → · Palette generator →

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