#9A258B#9A258B

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

Color values

HEX#9A258B
RGBrgb(154, 37, 139)
HSLhsl(308, 61%, 37%)
HSVhsv(308, 76%, 60%)
CMYKcmyk(0%, 76%, 9.7%, 39.6%)
CIE-LABlab(37.95, 58.00, -30.07)
CIE-LCHlch(37.95, 65.34, 332.60°)
OKLaboklab(48.99% 0.1683 -0.0824)
OKLCHoklch(48.99% 0.187 333.9)
XYZxyz(18.6484, 10.0589, 25.3805)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A258B #259A34
analogous
#6E259A #9A258B #9A2551
triadic
#9A258B #8B9A25 #258B9A
tetradic
#9A258B #9A6E25 #259A34 #25519A
square
#9A258B #9A6E25 #259A34 #25519A
split-complementary
#9A258B #519A25 #259A6E
monochromatic
#370D32 #69195E #9A258B #CB31B8 #D960C9

Accessibility & contrast

On white

6.97
#9A258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A258B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A258B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A258B#FFFFFF#000000##FFFFFF
##9A258B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8E
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#A13056
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a258b;
/* rgb */ color: rgb(154, 37, 139);
/* oklch */ color: oklch(49.0% 0.187 333.9);
Tailwind
colors: {
  custom: {
    50: '#bb6dad',
    500: '#9a258b',
    950: '#000000',
  },
}
SCSS
$custom: #9a258b;
$custom-light: #bb6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9a258b",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 307.692,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48989,
    "c": 0.18737,
    "h": 333.9
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#9A258B
secondary
#5DBE69
accent
#E45843
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A258B

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

Preview Lab → · Contrast checker → · Palette generator →

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