#9F3EB3#9F3EB3

#9F3EB3 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.192 H 320.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9F3EB3
RGBrgb(159, 62, 179)
HSLhsl(290, 49%, 47%)
HSVhsv(290, 65%, 70%)
CMYKcmyk(11.2%, 65.4%, 0%, 29.8%)
CIE-LABlab(44.34, 56.65, -43.93)
CIE-LCHlch(44.34, 71.68, 322.21°)
OKLaboklab(54.46% 0.1482 -0.1227)
OKLCHoklch(54.46% 0.192 320.4)
XYZxyz(24.1564, 14.0720, 44.0828)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EB3 #52B33E
analogous
#653EB3 #9F3EB3 #B33E8C
triadic
#9F3EB3 #B39F3E #3EB39F
tetradic
#9F3EB3 #B3653E #52B33E #3E8CB3
square
#9F3EB3 #B3653E #52B33E #3E8CB3
split-complementary
#9F3EB3 #8CB33E #3EB365
monochromatic
#4E1F58 #772E86 #9F3EB3 #B865CA #CD92D9

Accessibility & contrast

On white

5.51
#9F3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9F3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EB3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EB3#FFFFFF#000000##FFFFFF
##9F3EB31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B6
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#A05273
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3eb3;
/* rgb */ color: rgb(159, 62, 179);
/* oklch */ color: oklch(54.5% 0.192 320.4);
Tailwind
colors: {
  custom: {
    50: '#bf7aca',
    500: '#9f3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9f3eb3;
$custom-light: #bf7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3eb3",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 289.744,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.19235,
    "h": 320.4
  },
  "luminance": 0.14071
}

Semantic roles & 50–950 ramp

primary
#9F3EB3
secondary
#93C588
accent
#D85067
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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