#9F25BC#9F25BC

#9F25BC is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.8% C 0.228 H 318.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9F25BC
RGBrgb(159, 37, 188)
HSLhsl(288, 67%, 44%)
HSVhsv(288, 80%, 74%)
CMYKcmyk(15.4%, 80.3%, 0%, 26.3%)
CIE-LABlab(41.73, 67.35, -53.40)
CIE-LCHlch(41.73, 85.95, 321.59°)
OKLaboklab(52.78% 0.1712 -0.1502)
OKLCHoklch(52.78% 0.228 318.7)
XYZxyz(24.0355, 12.3261, 48.6803)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F25BC #42BC25
analogous
#5425BC #9F25BC #BC258E
triadic
#9F25BC #BC9F25 #25BC9F
tetradic
#9F25BC #BC5425 #42BC25 #258EBC
square
#9F25BC #BC5425 #42BC25 #258EBC
split-complementary
#9F25BC #8EBC25 #25BC54
monochromatic
#491156 #741B89 #9F25BC #BD44DA #CF77E4

Accessibility & contrast

On white

6.06
#9F25BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9F25BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F25BC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F25BC#FFFFFF#000000##FFFFFF
##9F25BC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#9E4872
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f25bc;
/* rgb */ color: rgb(159, 37, 188);
/* oklch */ color: oklch(52.8% 0.228 318.7);
Tailwind
colors: {
  custom: {
    50: '#c06fd1',
    500: '#9f25bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f25bc;
$custom-light: #c06fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f25bc",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 288.477,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.22779,
    "h": 318.7
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#9F25BC
secondary
#82CC71
accent
#EA3E5F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9F25BC

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

Preview Lab → · Contrast checker → · Palette generator →

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