#9F2BA3#9F2BA3

#9F2BA3 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.202 H 326.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9F2BA3
RGBrgb(159, 43, 163)
HSLhsl(298, 58%, 40%)
HSVhsv(298, 74%, 64%)
CMYKcmyk(2.5%, 73.6%, 0%, 36.1%)
CIE-LABlab(40.81, 61.07, -40.05)
CIE-LCHlch(40.81, 73.03, 326.75°)
OKLaboklab(51.63% 0.1685 -0.1112)
OKLCHoklch(51.63% 0.202 326.6)
XYZxyz(21.7724, 11.7445, 35.7634)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BA3 #2FA32B
analogous
#632BA3 #9F2BA3 #A32B6B
triadic
#9F2BA3 #A39F2B #2BA39F
tetradic
#9F2BA3 #A3632B #2FA32B #2B6BA3
square
#9F2BA3 #A3632B #2FA32B #2B6BA3
split-complementary
#9F2BA3 #6BA32B #2BA363
monochromatic
#411142 #701E73 #9F2BA3 #C83FCC #D66FD9

Accessibility & contrast

On white

6.27
#9F2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9F2BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BA3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BA3#FFFFFF#000000##FFFFFF
##9F2BA31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A6
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#A33F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2ba3;
/* rgb */ color: rgb(159, 43, 163);
/* oklch */ color: oklch(51.6% 0.202 326.6);
Tailwind
colors: {
  custom: {
    50: '#bf71bf',
    500: '#9f2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ba3;
$custom-light: #bf71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ba3",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 298,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.20187,
    "h": 326.6
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#9F2BA3
secondary
#6DC06A
accent
#E1464C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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