#9F4FB2#9F4FB2

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

Color values

HEX#9F4FB2
RGBrgb(159, 79, 178)
HSLhsl(288, 39%, 50%)
HSVhsv(288, 56%, 70%)
CMYKcmyk(10.7%, 55.6%, 0%, 30.2%)
CIE-LABlab(47.21, 48.46, -38.78)
CIE-LCHlch(47.21, 62.07, 321.33°)
OKLaboklab(56.53% 0.1267 -0.1078)
OKLCHoklch(56.53% 0.166 319.6)
XYZxyz(25.1289, 16.1783, 43.9099)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FB2 #62B24F
analogous
#6E4FB2 #9F4FB2 #B24F93
triadic
#9F4FB2 #B29F4F #4FB29F
tetradic
#9F4FB2 #B26E4F #62B24F #4F93B2
square
#9F4FB2 #B26E4F #62B24F #4F93B2
split-complementary
#9F4FB2 #93B24F #4FB26E
monochromatic
#54295E #7A3C88 #9F4FB2 #B67AC5 #CDA4D7

Accessibility & contrast

On white

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

On black

4.24
#9F4FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F4FB2#FFFFFF#000000##FFFFFF
##9F4FB21.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#A05E79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f4fb2;
/* rgb */ color: rgb(159, 79, 178);
/* oklch */ color: oklch(56.5% 0.166 319.6);
Tailwind
colors: {
  custom: {
    50: '#be84c9',
    500: '#9f4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fb2;
$custom-light: #be84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fb2",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 288.485,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.16638,
    "h": 319.6
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

primary
#9F4FB2
secondary
#A1C498
accent
#CF596F
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9F4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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