#9F3BB5#9F3BB5

#9F3BB5 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.3% C 0.198 H 319.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9F3BB5
RGBrgb(159, 59, 181)
HSLhsl(289, 51%, 47%)
HSVhsv(289, 67%, 71%)
CMYKcmyk(12.2%, 67.4%, 0%, 29%)
CIE-LABlab(44.00, 58.30, -45.65)
CIE-LCHlch(44.00, 74.05, 321.94°)
OKLaboklab(54.25% 0.1515 -0.1277)
OKLCHoklch(54.25% 0.198 319.9)
XYZxyz(24.2015, 13.8362, 45.1030)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BB5 #51B53B
analogous
#623BB5 #9F3BB5 #B53B8E
triadic
#9F3BB5 #B59F3B #3BB59F
tetradic
#9F3BB5 #B5623B #51B53B #3B8EB5
square
#9F3BB5 #B5623B #51B53B #3B8EB5
split-complementary
#9F3BB5 #8EB53B #3BB562
monochromatic
#4E1D59 #762C87 #9F3BB5 #B962CC #CD90DB

Accessibility & contrast

On white

5.57
#9F3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9F3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BB5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BB5#FFFFFF#000000##FFFFFF
##9F3BB51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D61B9
Deuteranopia (green-blind)
#456BB2
Tritanopia (blue-blind)
#A05173
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3bb5;
/* rgb */ color: rgb(159, 59, 181);
/* oklch */ color: oklch(54.3% 0.198 319.9);
Tailwind
colors: {
  custom: {
    50: '#bf79cc',
    500: '#9f3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bb5;
$custom-light: #bf79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bb5",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 289.18,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.19814,
    "h": 319.9
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#9F3BB5
secondary
#92C686
accent
#DA4D67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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