#9A259B#9A259B

#9A259B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.199 H 327.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9A259B
RGBrgb(154, 37, 155)
HSLhsl(299, 61%, 38%)
HSVhsv(299, 76%, 61%)
CMYKcmyk(0.6%, 76.1%, 0%, 39.2%)
CIE-LABlab(38.83, 60.58, -38.43)
CIE-LCHlch(38.83, 71.74, 327.61°)
OKLaboklab(49.91% 0.1686 -0.1066)
OKLCHoklch(49.91% 0.199 327.7)
XYZxyz(19.9041, 10.5612, 31.9942)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A259B #269B25
analogous
#5F259B #9A259B #9B2561
triadic
#9A259B #9B9A25 #259B9A
tetradic
#9A259B #9B5F25 #269B25 #25619B
square
#9A259B #9B5F25 #269B25 #25619B
split-complementary
#9A259B #619B25 #259B5F
monochromatic
#380D38 #69196A #9A259B #CB31CC #D861D9

Accessibility & contrast

On white

6.75
#9A259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9A259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A259B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A259B#FFFFFF#000000##FFFFFF
##9A259B1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05529E
Deuteranopia (green-blind)
#456198
Tritanopia (blue-blind)
#9F395F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a259b;
/* rgb */ color: rgb(154, 37, 155);
/* oklch */ color: oklch(49.9% 0.199 327.7);
Tailwind
colors: {
  custom: {
    50: '#bb6db9',
    500: '#9a259b',
    950: '#000000',
  },
}
SCSS
$custom: #9a259b;
$custom-light: #bb6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a259b",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 299.492,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.19945,
    "h": 327.7
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#9A259B
secondary
#5EBF5D
accent
#E54345
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A259B

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

Preview Lab → · Contrast checker → · Palette generator →

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