#9A258D#9A258D

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

Color values

HEX#9A258D
RGBrgb(154, 37, 141)
HSLhsl(307, 61%, 37%)
HSVhsv(307, 76%, 60%)
CMYKcmyk(0%, 76%, 8.4%, 39.6%)
CIE-LABlab(38.05, 58.32, -31.13)
CIE-LCHlch(38.05, 66.11, 331.90°)
OKLaboklab(49.1% 0.1684 -0.0855)
OKLCHoklch(49.1% 0.189 333.1)
XYZxyz(18.7958, 10.1178, 26.1572)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A258D #259A32
analogous
#6D259A #9A258D #9A2552
triadic
#9A258D #8D9A25 #258D9A
tetradic
#9A258D #9A6D25 #259A32 #25529A
square
#9A258D #9A6D25 #259A32 #25529A
split-complementary
#9A258D #529A25 #259A6D
monochromatic
#370D33 #691960 #9A258D #CB31BA #D960CC

Accessibility & contrast

On white

6.95
#9A258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9A258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A258D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A258D#FFFFFF#000000##FFFFFF
##9A258D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a258d;
/* rgb */ color: rgb(154, 37, 141);
/* oklch */ color: oklch(49.1% 0.189 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6daf',
    500: '#9a258d',
    950: '#000000',
  },
}
SCSS
$custom: #9a258d;
$custom-light: #bb6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a258d",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 306.667,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49099,
    "c": 0.18883,
    "h": 333.1
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#9A258D
secondary
#5DBE68
accent
#E45543
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A258D

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

Preview Lab → · Contrast checker → · Palette generator →

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