#9F2FB3#9F2FB3

#9F2FB3 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.211 H 321.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9F2FB3
RGBrgb(159, 47, 179)
HSLhsl(291, 58%, 44%)
HSVhsv(291, 74%, 70%)
CMYKcmyk(11.2%, 73.7%, 0%, 29.8%)
CIE-LABlab(42.25, 62.54, -47.27)
CIE-LCHlch(42.25, 78.39, 322.92°)
OKLaboklab(52.96% 0.1639 -0.1323)
OKLCHoklch(52.96% 0.211 321.1)
XYZxyz(23.4503, 12.6599, 43.8475)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FB3 #43B32F
analogous
#5D2FB3 #9F2FB3 #B32F85
triadic
#9F2FB3 #B39F2F #2FB39F
tetradic
#9F2FB3 #B35D2F #43B32F #2F85B3
square
#9F2FB3 #B35D2F #43B32F #2F85B3
split-complementary
#9F2FB3 #85B32F #2FB35D
monochromatic
#491652 #742283 #9F2FB3 #BD4FD1 #CF7FDD

Accessibility & contrast

On white

5.95
#9F2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9F2FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FB3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FB3#FFFFFF#000000##FFFFFF
##9F2FB31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#A0496F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2fb3;
/* rgb */ color: rgb(159, 47, 179);
/* oklch */ color: oklch(53.0% 0.211 321.1);
Tailwind
colors: {
  custom: {
    50: '#bf73ca',
    500: '#9f2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fb3;
$custom-light: #bf73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fb3",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 290.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.21067,
    "h": 321.1
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#9F2FB3
secondary
#84C678
accent
#E2465E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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