#9F25A2#9F25A2

#9F25A2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.207 H 327.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9F25A2
RGBrgb(159, 37, 162)
HSLhsl(299, 63%, 39%)
HSVhsv(299, 77%, 64%)
CMYKcmyk(1.9%, 77.2%, 0%, 36.5%)
CIE-LABlab(40.09, 62.80, -40.59)
CIE-LCHlch(40.09, 74.78, 327.12°)
OKLaboklab(51.1% 0.1738 -0.1128)
OKLCHoklch(51.1% 0.207 327)
XYZxyz(21.4809, 11.3042, 35.2260)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F25A2 #28A225
analogous
#6125A2 #9F25A2 #A22567
triadic
#9F25A2 #A29F25 #25A29F
tetradic
#9F25A2 #A26125 #28A225 #2567A2
square
#9F25A2 #A26125 #28A225 #2567A2
split-complementary
#9F25A2 #67A225 #25A261
monochromatic
#3D0E3E #6E1A70 #9F25A2 #CD34D1 #D965DC

Accessibility & contrast

On white

6.44
#9F25A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9F25A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F25A2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F25A2#FFFFFF#000000##FFFFFF
##9F25A21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#A43B63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f25a2;
/* rgb */ color: rgb(159, 37, 162);
/* oklch */ color: oklch(51.1% 0.207 327.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ebe',
    500: '#9f25a2',
    950: '#000000',
  },
}
SCSS
$custom: #9f25a2;
$custom-light: #bf6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f25a2",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 298.56,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.20718,
    "h": 327
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#9F25A2
secondary
#64C261
accent
#E64246
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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