#9A259D#9A259D

#9A259D is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.201 H 327.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9A259D
RGBrgb(154, 37, 157)
HSLhsl(299, 62%, 38%)
HSVhsv(299, 76%, 62%)
CMYKcmyk(1.9%, 76.4%, 0%, 38.4%)
CIE-LABlab(38.95, 60.91, -39.45)
CIE-LCHlch(38.95, 72.57, 327.07°)
OKLaboklab(50.03% 0.1685 -0.1096)
OKLCHoklch(50.03% 0.201 327)
XYZxyz(20.0735, 10.6289, 32.8861)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A259D #289D25
analogous
#5E259D #9A259D #9D2564
triadic
#9A259D #9D9A25 #259D9A
tetradic
#9A259D #9D5E25 #289D25 #25649D
square
#9A259D #9D5E25 #289D25 #25649D
split-complementary
#9A259D #649D25 #259D5E
monochromatic
#390E3A #69196B #9A259D #CA31CE #D762DA

Accessibility & contrast

On white

6.72
#9A259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9A259D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A259D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A259D#FFFFFF#000000##FFFFFF
##9A259D1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#9E3A60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a259d;
/* rgb */ color: rgb(154, 37, 157);
/* oklch */ color: oklch(50.0% 0.201 327.0);
Tailwind
colors: {
  custom: {
    50: '#bb6dba',
    500: '#9a259d',
    950: '#000000',
  },
}
SCSS
$custom: #9a259d;
$custom-light: #bb6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a259d",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 298.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50028,
    "c": 0.20101,
    "h": 327
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#9A259D
secondary
#61BF5E
accent
#E54347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A259D

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

Preview Lab → · Contrast checker → · Palette generator →

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