#9F3BAD#9F3BAD

#9F3BAD is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.191 H 322.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9F3BAD
RGBrgb(159, 59, 173)
HSLhsl(293, 49%, 45%)
HSVhsv(293, 66%, 68%)
CMYKcmyk(8.1%, 65.9%, 0%, 32.2%)
CIE-LABlab(43.53, 56.79, -41.67)
CIE-LCHlch(43.53, 70.43, 323.73°)
OKLaboklab(53.77% 0.1516 -0.1161)
OKLCHoklch(53.77% 0.191 322.6)
XYZxyz(23.4041, 13.5173, 40.9034)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BAD #49AD3B
analogous
#663BAD #9F3BAD #AD3B82
triadic
#9F3BAD #AD9F3B #3BAD9F
tetradic
#9F3BAD #AD663B #49AD3B #3B82AD
square
#9F3BAD #AD663B #49AD3B #3B82AD
split-complementary
#9F3BAD #82AD3B #3BAD66
monochromatic
#4B1C52 #752B7F #9F3BAD #BB5DC8 #CE8BD7

Accessibility & contrast

On white

5.67
#9F3BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9F3BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BAD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BAD#FFFFFF#000000##FFFFFF
##9F3BAD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FB0
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#A14E6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f3bad;
/* rgb */ color: rgb(159, 59, 173);
/* oklch */ color: oklch(53.8% 0.191 322.6);
Tailwind
colors: {
  custom: {
    50: '#bf79c6',
    500: '#9f3bad',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bad;
$custom-light: #bf79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bad",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 292.632,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.19094,
    "h": 322.6
  },
  "luminance": 0.13516
}

Semantic roles & 50–950 ramp

primary
#9F3BAD
secondary
#8AC282
accent
#D94F60
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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