#9F2FB1#9F2FB1

#9F2FB1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.209 H 321.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9F2FB1
RGBrgb(159, 47, 177)
HSLhsl(292, 58%, 44%)
HSVhsv(292, 73%, 69%)
CMYKcmyk(10.2%, 73.4%, 0%, 30.6%)
CIE-LABlab(42.12, 62.17, -46.28)
CIE-LCHlch(42.12, 77.51, 323.33°)
OKLaboklab(52.84% 0.1641 -0.1294)
OKLCHoklch(52.84% 0.209 321.7)
XYZxyz(23.2495, 12.5796, 42.7899)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FB1 #41B12F
analogous
#5E2FB1 #9F2FB1 #B12F82
triadic
#9F2FB1 #B19F2F #2FB19F
tetradic
#9F2FB1 #B15E2F #41B12F #2F82B1
square
#9F2FB1 #B15E2F #41B12F #2F82B1
split-complementary
#9F2FB1 #82B12F #2FB15E
monochromatic
#481550 #742281 #9F2FB1 #BE4DD0 #D07EDD

Accessibility & contrast

On white

5.97
#9F2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9F2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FB1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FB1#FFFFFF#000000##FFFFFF
##9F2FB11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#4068AE
Tritanopia (blue-blind)
#A1486E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2fb1;
/* rgb */ color: rgb(159, 47, 177);
/* oklch */ color: oklch(52.8% 0.209 321.7);
Tailwind
colors: {
  custom: {
    50: '#bf73c9',
    500: '#9f2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fb1;
$custom-light: #bf73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fb1",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 291.692,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.20898,
    "h": 321.7
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#9F2FB1
secondary
#81C576
accent
#E1475C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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