#9F25B0#9F25B0

#9F25B0 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.218 H 322.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9F25B0
RGBrgb(159, 37, 176)
HSLhsl(293, 65%, 42%)
HSVhsv(293, 79%, 69%)
CMYKcmyk(9.7%, 79%, 0%, 31%)
CIE-LABlab(40.94, 65.20, -47.58)
CIE-LCHlch(40.94, 80.71, 323.88°)
OKLaboklab(51.98% 0.1728 -0.1332)
OKLCHoklch(51.98% 0.218 322.4)
XYZxyz(22.7953, 11.8300, 42.1486)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F25B0 #36B025
analogous
#5A25B0 #9F25B0 #B0257C
triadic
#9F25B0 #B09F25 #25B09F
tetradic
#9F25B0 #B05A25 #36B025 #257CB0
square
#9F25B0 #B05A25 #36B025 #257CB0
split-complementary
#9F25B0 #7CB025 #25B05A
monochromatic
#44104B #711A7D #9F25B0 #C33CD6 #D36FE1

Accessibility & contrast

On white

6.24
#9F25B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9F25B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F25B0
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F25B0#FFFFFF#000000##FFFFFF
##9F25B01.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#3B65AD
Tritanopia (blue-blind)
#A1426B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f25b0;
/* rgb */ color: rgb(159, 37, 176);
/* oklch */ color: oklch(52.0% 0.218 322.4);
Tailwind
colors: {
  custom: {
    50: '#bf6fc8',
    500: '#9f25b0',
    950: '#000000',
  },
}
SCSS
$custom: #9f25b0;
$custom-light: #bf6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f25b0",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 292.662,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.21816,
    "h": 322.4
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#9F25B0
secondary
#75C76A
accent
#E84054
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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