#9F3BB2#9F3BB2

#9F3BB2 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.195 H 320.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9F3BB2
RGBrgb(159, 59, 178)
HSLhsl(290, 50%, 46%)
HSVhsv(290, 67%, 70%)
CMYKcmyk(10.7%, 66.9%, 0%, 30.2%)
CIE-LABlab(43.82, 57.73, -44.16)
CIE-LCHlch(43.82, 72.68, 322.58°)
OKLaboklab(54.07% 0.1516 -0.1233)
OKLCHoklch(54.07% 0.195 320.9)
XYZxyz(23.8970, 13.7144, 43.4993)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BB2 #4EB23B
analogous
#643BB2 #9F3BB2 #B23B8A
triadic
#9F3BB2 #B29F3B #3BB29F
tetradic
#9F3BB2 #B2643B #4EB23B #3B8AB2
square
#9F3BB2 #B2643B #4EB23B #3B8AB2
split-complementary
#9F3BB2 #8AB23B #3BB264
monochromatic
#4D1D56 #762C84 #9F3BB2 #B960CA #CD8EDA

Accessibility & contrast

On white

5.61
#9F3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9F3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BB2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BB2#FFFFFF#000000##FFFFFF
##9F3BB21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1561B5
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#A05072
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3bb2;
/* rgb */ color: rgb(159, 59, 178);
/* oklch */ color: oklch(54.1% 0.195 320.9);
Tailwind
colors: {
  custom: {
    50: '#bf79c9',
    500: '#9f3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bb2;
$custom-light: #bf79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bb2",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 290.42,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.19542,
    "h": 320.9
  },
  "luminance": 0.13713
}

Semantic roles & 50–950 ramp

primary
#9F3BB2
secondary
#8FC485
accent
#DA4E64
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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