#9B25A5#9B25A5

#9B25A5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.208 H 324.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9B25A5
RGBrgb(155, 37, 165)
HSLhsl(295, 63%, 40%)
HSVhsv(295, 78%, 65%)
CMYKcmyk(6.1%, 77.6%, 0%, 35.3%)
CIE-LABlab(39.60, 62.49, -43.22)
CIE-LCHlch(39.60, 75.98, 325.33°)
OKLaboklab(50.68% 0.1692 -0.1205)
OKLCHoklch(50.68% 0.208 324.5)
XYZxyz(20.9701, 11.0097, 36.6106)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B25A5 #2FA525
analogous
#5B25A5 #9B25A5 #A5256F
triadic
#9B25A5 #A59B25 #25A59B
tetradic
#9B25A5 #A55B25 #2FA525 #256FA5
square
#9B25A5 #A55B25 #2FA525 #256FA5
split-complementary
#9B25A5 #6FA525 #25A55B
monochromatic
#3D0F41 #6C1A73 #9B25A5 #C635D2 #D467DD

Accessibility & contrast

On white

6.56
#9B25A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9B25A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B25A5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B25A5#FFFFFF#000000##FFFFFF
##9B25A51.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#4062A2
Tritanopia (blue-blind)
#9E3D64
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b25a5;
/* rgb */ color: rgb(155, 37, 165);
/* oklch */ color: oklch(50.7% 0.208 324.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ec0',
    500: '#9b25a5',
    950: '#000000',
  },
}
SCSS
$custom: #9b25a5;
$custom-light: #bc6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b25a5",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 295.313,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50676,
    "c": 0.20776,
    "h": 324.5
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#9B25A5
secondary
#6AC363
accent
#E6414E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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