#9F50BE#9F50BE

#9F50BE is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.177 H 315.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9F50BE
RGBrgb(159, 80, 190)
HSLhsl(283, 46%, 53%)
HSVhsv(283, 58%, 75%)
CMYKcmyk(16.3%, 57.9%, 0%, 25.5%)
CIE-LABlab(48.04, 50.44, -44.46)
CIE-LCHlch(48.04, 67.23, 318.61°)
OKLaboklab(57.35% 0.1262 -0.1243)
OKLCHoklch(57.35% 0.177 315.4)
XYZxyz(26.4595, 16.8268, 50.5593)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50BE #6FBE50
analogous
#6850BE #9F50BE #BE50A6
triadic
#9F50BE #BE9F50 #50BE9F
tetradic
#9F50BE #BE6850 #6FBE50 #50A6BE
square
#9F50BE #BE6850 #6FBE50 #50A6BE
split-complementary
#9F50BE #A6BE50 #50BE68
monochromatic
#59286C #7D3998 #9F50BE #B77DCF #D0A9DF

Accessibility & contrast

On white

4.81
#9F50BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9F50BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F50BE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50BE#FFFFFF#000000##FFFFFF
##9F50BE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#9D637F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f50be;
/* rgb */ color: rgb(159, 80, 190);
/* oklch */ color: oklch(57.4% 0.177 315.4);
Tailwind
colors: {
  custom: {
    50: '#be85d2',
    500: '#9f50be',
    950: '#000000',
  },
}
SCSS
$custom: #9f50be;
$custom-light: #be85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50be",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 190
  },
  "hsl": {
    "h": 283.091,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57351,
    "c": 0.17714,
    "h": 315.4
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#9F50BE
secondary
#ABCD9D
accent
#D55277
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F50BE

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

Preview Lab → · Contrast checker → · Palette generator →

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