#9B25A7#9B25A7

#9B25A7 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.209 H 323.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9B25A7
RGBrgb(155, 37, 167)
HSLhsl(294, 64%, 40%)
HSVhsv(294, 78%, 65%)
CMYKcmyk(7.2%, 77.8%, 0%, 34.5%)
CIE-LABlab(39.72, 62.83, -44.22)
CIE-LCHlch(39.72, 76.83, 324.87°)
OKLaboklab(50.8% 0.1691 -0.1235)
OKLCHoklch(50.8% 0.209 323.9)
XYZxyz(21.1536, 11.0831, 37.5768)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B25A7 #31A725
analogous
#5A25A7 #9B25A7 #A72572
triadic
#9B25A7 #A79B25 #25A79B
tetradic
#9B25A7 #A75A25 #31A725 #2572A7
square
#9B25A7 #A75A25 #31A725 #2572A7
split-complementary
#9B25A7 #72A725 #25A75A
monochromatic
#3E0F43 #6D1A75 #9B25A7 #C437D3 #D369DE

Accessibility & contrast

On white

6.53
#9B25A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9B25A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B25A7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B25A7#FFFFFF#000000##FFFFFF
##9B25A71.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#3E62A4
Tritanopia (blue-blind)
#9E3E66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b25a7;
/* rgb */ color: rgb(155, 37, 167);
/* oklch */ color: oklch(50.8% 0.209 323.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ec2',
    500: '#9b25a7',
    950: '#000000',
  },
}
SCSS
$custom: #9b25a7;
$custom-light: #bc6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b25a7",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 294.462,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.20935,
    "h": 323.9
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#9B25A7
secondary
#6DC464
accent
#E74150
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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