#9F25A6#9F25A6

#9F25A6 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.210 H 325.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9F25A6
RGBrgb(159, 37, 166)
HSLhsl(297, 64%, 40%)
HSVhsv(297, 78%, 65%)
CMYKcmyk(4.2%, 77.7%, 0%, 34.9%)
CIE-LABlab(40.33, 63.47, -42.61)
CIE-LCHlch(40.33, 76.45, 326.13°)
OKLaboklab(51.34% 0.1736 -0.1186)
OKLCHoklch(51.34% 0.21 325.7)
XYZxyz(21.8421, 11.4487, 37.1284)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F25A6 #2CA625
analogous
#5E25A6 #9F25A6 #A6256D
triadic
#9F25A6 #A69F25 #25A69F
tetradic
#9F25A6 #A65E25 #2CA625 #256DA6
square
#9F25A6 #A65E25 #2CA625 #256DA6
split-complementary
#9F25A6 #6DA625 #25A65E
monochromatic
#3F0F42 #6F1A74 #9F25A6 #CA36D2 #D768DD

Accessibility & contrast

On white

6.38
#9F25A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9F25A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F25A6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F25A6#FFFFFF#000000##FFFFFF
##9F25A61.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#A33D65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f25a6;
/* rgb */ color: rgb(159, 37, 166);
/* oklch */ color: oklch(51.3% 0.210 325.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ec1',
    500: '#9f25a6',
    950: '#000000',
  },
}
SCSS
$custom: #9f25a6;
$custom-light: #bf6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f25a6",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 296.744,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51342,
    "c": 0.21028,
    "h": 325.7
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#9F25A6
secondary
#69C364
accent
#E7414A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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