#9F5BBF#9F5BBF

#9F5BBF is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.0% C 0.161 H 313.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9F5BBF
RGBrgb(159, 91, 191)
HSLhsl(281, 44%, 55%)
HSVhsv(281, 52%, 75%)
CMYKcmyk(16.8%, 52.4%, 0%, 25.1%)
CIE-LABlab(50.23, 44.97, -41.56)
CIE-LCHlch(50.23, 61.24, 317.26°)
OKLaboklab(58.98% 0.1115 -0.1159)
OKLCHoklch(58.98% 0.161 313.9)
XYZxyz(27.4416, 18.6154, 51.4277)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5BBF #7BBF5B
analogous
#6D5BBF #9F5BBF #BF5BAD
triadic
#9F5BBF #BF9F5B #5BBF9F
tetradic
#9F5BBF #BF6D5B #7BBF5B #5BADBF
square
#9F5BBF #BF6D5B #7BBF5B #5BADBF
split-complementary
#9F5BBF #ADBF5B #5BBF6D
monochromatic
#5C2D73 #803E9F #9F5BBF #B987D0 #D3B3E1

Accessibility & contrast

On white

4.45
#9F5BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9F5BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5BBF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5BBF#FFFFFF#000000##000000
##9F5BBF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#9C6B84
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f5bbf;
/* rgb */ color: rgb(159, 91, 191);
/* oklch */ color: oklch(59.0% 0.161 313.9);
Tailwind
colors: {
  custom: {
    50: '#be8cd3',
    500: '#9f5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #9f5bbf;
$custom-light: #be8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5bbf",
  "rgb": {
    "r": 159,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 280.8,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58979,
    "c": 0.16088,
    "h": 313.9
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#9F5BBF
secondary
#B3D0A6
accent
#D4547D
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9F5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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