#9F3EB5#9F3EB5

#9F3EB5 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.6% C 0.194 H 319.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9F3EB5
RGBrgb(159, 62, 181)
HSLhsl(289, 49%, 48%)
HSVhsv(289, 66%, 71%)
CMYKcmyk(12.2%, 65.7%, 0%, 29%)
CIE-LABlab(44.45, 57.03, -44.92)
CIE-LCHlch(44.45, 72.60, 321.78°)
OKLaboklab(54.58% 0.1481 -0.1256)
OKLCHoklch(54.58% 0.194 319.7)
XYZxyz(24.3601, 14.1535, 45.1559)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EB5 #54B53E
analogous
#643EB5 #9F3EB5 #B53E8F
triadic
#9F3EB5 #B59F3E #3EB59F
tetradic
#9F3EB5 #B5643E #54B53E #3E8FB5
square
#9F3EB5 #B5643E #54B53E #3E8FB5
split-complementary
#9F3EB5 #8FB53E #3EB564
monochromatic
#4F1F5A #772E87 #9F3EB5 #B866CA #CD93DA

Accessibility & contrast

On white

5.48
#9F3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9F3EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EB5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EB5#FFFFFF#000000##FFFFFF
##9F3EB51.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B9
Deuteranopia (green-blind)
#476CB2
Tritanopia (blue-blind)
#9F5374
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3eb5;
/* rgb */ color: rgb(159, 62, 181);
/* oklch */ color: oklch(54.6% 0.194 319.7);
Tailwind
colors: {
  custom: {
    50: '#bf7acc',
    500: '#9f3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #9f3eb5;
$custom-light: #bf7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3eb5",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 288.908,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.19419,
    "h": 319.7
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#9F3EB5
secondary
#94C589
accent
#D94F69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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