#9F2BB5#9F2BB5

#9F2BB5 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.217 H 320.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9F2BB5
RGBrgb(159, 43, 181)
HSLhsl(290, 62%, 44%)
HSVhsv(290, 76%, 71%)
CMYKcmyk(12.2%, 76.2%, 0%, 29%)
CIE-LABlab(41.90, 64.25, -49.00)
CIE-LCHlch(41.90, 80.81, 322.67°)
OKLaboklab(52.76% 0.1674 -0.1374)
OKLCHoklch(52.76% 0.217 320.6)
XYZxyz(23.5015, 12.4361, 44.8696)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BB5 #41B52B
analogous
#5A2BB5 #9F2BB5 #B52B86
triadic
#9F2BB5 #B59F2B #2BB59F
tetradic
#9F2BB5 #B55A2B #41B52B #2B86B5
square
#9F2BB5 #B55A2B #41B52B #2B86B5
split-complementary
#9F2BB5 #86B52B #2BB55A
monochromatic
#481452 #741F84 #9F2BB5 #BE49D4 #D07BE0

Accessibility & contrast

On white

6.02
#9F2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9F2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BB5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BB5#FFFFFF#000000##FFFFFF
##9F2BB51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#A0476F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2bb5;
/* rgb */ color: rgb(159, 43, 181);
/* oklch */ color: oklch(52.8% 0.217 320.6);
Tailwind
colors: {
  custom: {
    50: '#bf71cc',
    500: '#9f2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bb5;
$custom-light: #bf71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bb5",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 290.435,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.21651,
    "h": 320.6
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#9F2BB5
secondary
#81C874
accent
#E5435D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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