#9F25A9#9F25A9

#9F25A9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.213 H 324.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9F25A9
RGBrgb(159, 37, 169)
HSLhsl(295, 64%, 40%)
HSVhsv(295, 78%, 66%)
CMYKcmyk(5.9%, 78.1%, 0%, 33.7%)
CIE-LABlab(40.51, 63.98, -44.11)
CIE-LCHlch(40.51, 77.72, 325.42°)
OKLaboklab(51.53% 0.1734 -0.123)
OKLCHoklch(51.53% 0.213 324.6)
XYZxyz(22.1205, 11.5601, 38.5946)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F25A9 #2FA925
analogous
#5D25A9 #9F25A9 #A92571
triadic
#9F25A9 #A99F25 #25A99F
tetradic
#9F25A9 #A95D25 #2FA925 #2571A9
square
#9F25A9 #A95D25 #2FA925 #2571A9
split-complementary
#9F25A9 #71A925 #25A95D
monochromatic
#410F45 #701A77 #9F25A9 #C838D3 #D66ADE

Accessibility & contrast

On white

6.34
#9F25A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9F25A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F25A9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F25A9#FFFFFF#000000##FFFFFF
##9F25A91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#A23E67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f25a9;
/* rgb */ color: rgb(159, 37, 169);
/* oklch */ color: oklch(51.5% 0.213 324.6);
Tailwind
colors: {
  custom: {
    50: '#bf6fc3',
    500: '#9f25a9',
    950: '#000000',
  },
}
SCSS
$custom: #9f25a9;
$custom-light: #bf6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f25a9",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 295.455,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.21263,
    "h": 324.6
  },
  "luminance": 0.11559
}

Semantic roles & 50–950 ramp

primary
#9F25A9
secondary
#6DC465
accent
#E7414D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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