#9F4BBF#9F4BBF

#9F4BBF is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.7% C 0.186 H 315.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9F4BBF
RGBrgb(159, 75, 191)
HSLhsl(283, 48%, 52%)
HSVhsv(283, 61%, 75%)
CMYKcmyk(16.8%, 60.7%, 0%, 25.1%)
CIE-LABlab(47.19, 53.10, -46.39)
CIE-LCHlch(47.19, 70.51, 318.86°)
OKLaboklab(56.75% 0.1326 -0.1299)
OKLCHoklch(56.75% 0.186 315.6)
XYZxyz(26.2167, 16.1656, 51.0194)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BBF #6BBF4B
analogous
#654BBF #9F4BBF #BF4BA5
triadic
#9F4BBF #BF9F4B #4BBF9F
tetradic
#9F4BBF #BF654B #6BBF4B #4BA5BF
square
#9F4BBF #BF654B #6BBF4B #4BA5BF
split-complementary
#9F4BBF #A5BF4B #4BBF65
monochromatic
#57266A #7C3697 #9F4BBF #B778CF #CFA5DF

Accessibility & contrast

On white

4.96
#9F4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9F4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BBF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BBF#FFFFFF#000000##FFFFFF
##9F4BBF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#4A72BC
Tritanopia (blue-blind)
#9D5F7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f4bbf;
/* rgb */ color: rgb(159, 75, 191);
/* oklch */ color: oklch(56.7% 0.186 315.6);
Tailwind
colors: {
  custom: {
    50: '#be82d3',
    500: '#9f4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bbf;
$custom-light: #be82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bbf",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 283.448,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.18562,
    "h": 315.6
  },
  "luminance": 0.16165
}

Semantic roles & 50–950 ramp

primary
#9F4BBF
secondary
#A8CC9A
accent
#D75176
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9F4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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