#9F2BA5#9F2BA5

#9F2BA5 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.203 H 325.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9F2BA5
RGBrgb(159, 43, 165)
HSLhsl(297, 59%, 41%)
HSVhsv(297, 74%, 65%)
CMYKcmyk(3.6%, 73.9%, 0%, 35.3%)
CIE-LABlab(40.92, 61.42, -41.06)
CIE-LCHlch(40.92, 73.88, 326.23°)
OKLaboklab(51.75% 0.1684 -0.1142)
OKLCHoklch(51.75% 0.203 325.9)
XYZxyz(21.9530, 11.8168, 36.7146)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BA5 #31A52B
analogous
#622BA5 #9F2BA5 #A52B6E
triadic
#9F2BA5 #A59F2B #2BA59F
tetradic
#9F2BA5 #A5622B #31A52B #2B6EA5
square
#9F2BA5 #A5622B #31A52B #2B6EA5
split-complementary
#9F2BA5 #6EA52B #2BA562
monochromatic
#411244 #701E74 #9F2BA5 #C640CD #D571DA

Accessibility & contrast

On white

6.24
#9F2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9F2BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BA5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BA5#FFFFFF#000000##FFFFFF
##9F2BA51.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0457A8
Deuteranopia (green-blind)
#4765A2
Tritanopia (blue-blind)
#A34066
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2ba5;
/* rgb */ color: rgb(159, 43, 165);
/* oklch */ color: oklch(51.7% 0.203 325.9);
Tailwind
colors: {
  custom: {
    50: '#bf71c0',
    500: '#9f2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ba5;
$custom-light: #bf71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ba5",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 297.049,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.20346,
    "h": 325.9
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#9F2BA5
secondary
#6FC16B
accent
#E2464E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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