#9F3BAE#9F3BAE

#9F3BAE is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.192 H 322.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9F3BAE
RGBrgb(159, 59, 174)
HSLhsl(292, 49%, 46%)
HSVhsv(292, 66%, 68%)
CMYKcmyk(8.6%, 66.1%, 0%, 31.8%)
CIE-LABlab(43.59, 56.97, -42.17)
CIE-LCHlch(43.59, 70.88, 323.49°)
OKLaboklab(53.83% 0.1516 -0.1175)
OKLCHoklch(53.83% 0.192 322.2)
XYZxyz(23.5012, 13.5561, 41.4149)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BAE #4AAE3B
analogous
#653BAE #9F3BAE #AE3B83
triadic
#9F3BAE #AE9F3B #3BAE9F
tetradic
#9F3BAE #AE653B #4AAE3B #3B83AE
square
#9F3BAE #AE653B #4AAE3B #3B83AE
split-complementary
#9F3BAE #83AE3B #3BAE65
monochromatic
#4B1C53 #752C80 #9F3BAE #BA5EC8 #CE8CD8

Accessibility & contrast

On white

5.66
#9F3BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9F3BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BAE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BAE#FFFFFF#000000##FFFFFF
##9F3BAE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B1
Deuteranopia (green-blind)
#4A6BAB
Tritanopia (blue-blind)
#A14E70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f3bae;
/* rgb */ color: rgb(159, 59, 174);
/* oklch */ color: oklch(53.8% 0.192 322.2);
Tailwind
colors: {
  custom: {
    50: '#bf79c7',
    500: '#9f3bae',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bae;
$custom-light: #bf79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bae",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 292.174,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.19183,
    "h": 322.2
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#9F3BAE
secondary
#8BC282
accent
#D94F61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F3BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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