#9A25BA#9A25BA

#9A25BA is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.9% C 0.224 H 317.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9A25BA
RGBrgb(154, 37, 186)
HSLhsl(287, 67%, 44%)
HSVhsv(287, 80%, 73%)
CMYKcmyk(17.2%, 80.1%, 0%, 27.1%)
CIE-LABlab(40.80, 66.07, -53.76)
CIE-LCHlch(40.80, 85.18, 320.87°)
OKLaboklab(51.93% 0.1656 -0.1514)
OKLCHoklch(51.93% 0.224 317.5)
XYZxyz(22.8496, 11.7394, 47.5072)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A25BA #45BA25
analogous
#4F25BA #9A25BA #BA258F
triadic
#9A25BA #BA9A25 #25BA9A
tetradic
#9A25BA #BA4F25 #45BA25 #258FBA
square
#9A25BA #BA4F25 #45BA25 #258FBA
split-complementary
#9A25BA #8FBA25 #25BA4F
monochromatic
#451154 #701B87 #9A25BA #B943DA #CC76E4

Accessibility & contrast

On white

6.27
#9A25BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9A25BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A25BA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A25BA#FFFFFF#000000##FFFFFF
##9A25BA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#994870
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a25ba;
/* rgb */ color: rgb(154, 37, 186);
/* oklch */ color: oklch(51.9% 0.224 317.5);
Tailwind
colors: {
  custom: {
    50: '#bc6fcf',
    500: '#9a25ba',
    950: '#000000',
  },
}
SCSS
$custom: #9a25ba;
$custom-light: #bc6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a25ba",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 287.114,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.22438,
    "h": 317.5
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#9A25BA
secondary
#83CB70
accent
#EA3E63
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9A25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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