#9F50BB#9F50BB

#9F50BB is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.2% C 0.174 H 316.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9F50BB
RGBrgb(159, 80, 187)
HSLhsl(284, 44%, 52%)
HSVhsv(284, 57%, 73%)
CMYKcmyk(15%, 57.2%, 0%, 26.7%)
CIE-LABlab(47.88, 49.81, -42.98)
CIE-LCHlch(47.88, 65.79, 319.21°)
OKLaboklab(57.18% 0.126 -0.12)
OKLCHoklch(57.18% 0.174 316.4)
XYZxyz(26.1350, 16.6970, 48.8502)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50BB #6CBB50
analogous
#6A50BB #9F50BB #BB50A2
triadic
#9F50BB #BB9F50 #50BB9F
tetradic
#9F50BB #BB6A50 #6CBB50 #50A2BB
square
#9F50BB #BB6A50 #6CBB50 #50A2BB
split-complementary
#9F50BB #A2BB50 #50BB6A
monochromatic
#572868 #7C3A94 #9F50BB #B77CCC #CFA8DD

Accessibility & contrast

On white

4.84
#9F50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9F50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F50BB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50BB#FFFFFF#000000##FFFFFF
##9F50BB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#9E617E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f50bb;
/* rgb */ color: rgb(159, 80, 187);
/* oklch */ color: oklch(57.2% 0.174 316.4);
Tailwind
colors: {
  custom: {
    50: '#be85d0',
    500: '#9f50bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f50bb;
$custom-light: #be85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50bb",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 284.299,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57177,
    "c": 0.17402,
    "h": 316.4
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#9F50BB
secondary
#A8CB9C
accent
#D45475
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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