#9F54BE#9F54BE

#9F54BE is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.9% C 0.171 H 315.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9F54BE
RGBrgb(159, 84, 190)
HSLhsl(282, 45%, 54%)
HSVhsv(282, 56%, 75%)
CMYKcmyk(16.3%, 55.8%, 0%, 25.5%)
CIE-LABlab(48.80, 48.41, -43.26)
CIE-LCHlch(48.80, 64.92, 318.22°)
OKLaboklab(57.9% 0.1209 -0.1208)
OKLCHoklch(57.9% 0.171 315)
XYZxyz(26.7612, 17.4301, 50.6599)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54BE #73BE54
analogous
#6A54BE #9F54BE #BE54A8
triadic
#9F54BE #BE9F54 #54BE9F
tetradic
#9F54BE #BE6A54 #73BE54 #54A8BE
square
#9F54BE #BE6A54 #73BE54 #54A8BE
split-complementary
#9F54BE #A8BE54 #54BE6A
monochromatic
#5A2A6E #7E3B9A #9F54BE #B880CF #D1ADE0

Accessibility & contrast

On white

4.68
#9F54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9F54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F54BE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F54BE#FFFFFF#000000##FFFFFF
##9F54BE1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C1
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#9D6581
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f54be;
/* rgb */ color: rgb(159, 84, 190);
/* oklch */ color: oklch(57.9% 0.171 315.0);
Tailwind
colors: {
  custom: {
    50: '#be87d2',
    500: '#9f54be',
    950: '#000000',
  },
}
SCSS
$custom: #9f54be;
$custom-light: #be87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54be",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 282.453,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57904,
    "c": 0.17095,
    "h": 315
  },
  "luminance": 0.17429
}

Semantic roles & 50–950 ramp

primary
#9F54BE
secondary
#ADCEA0
accent
#D55379
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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