#9F4FBE#9F4FBE

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

Color values

HEX#9F4FBE
RGBrgb(159, 79, 190)
HSLhsl(283, 46%, 53%)
HSVhsv(283, 58%, 75%)
CMYKcmyk(16.3%, 58.4%, 0%, 25.5%)
CIE-LABlab(47.86, 50.93, -44.75)
CIE-LCHlch(47.86, 67.80, 318.70°)
OKLaboklab(57.22% 0.1275 -0.1252)
OKLCHoklch(57.22% 0.179 315.5)
XYZxyz(26.3869, 16.6815, 50.5351)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FBE #6EBE4F
analogous
#674FBE #9F4FBE #BE4FA6
triadic
#9F4FBE #BE9F4F #4FBE9F
tetradic
#9F4FBE #BE674F #6EBE4F #4FA6BE
square
#9F4FBE #BE674F #6EBE4F #4FA6BE
split-complementary
#9F4FBE #A6BE4F #4FBE67
monochromatic
#58286B #7D3898 #9F4FBE #B77CCF #D0A8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F4FBE#FFFFFF#000000##FFFFFF
##9F4FBE1.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)
#306DC2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#9D627F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f4fbe;
/* rgb */ color: rgb(159, 79, 190);
/* oklch */ color: oklch(57.2% 0.179 315.5);
Tailwind
colors: {
  custom: {
    50: '#be84d2',
    500: '#9f4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fbe;
$custom-light: #be84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fbe",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 283.243,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57216,
    "c": 0.17865,
    "h": 315.5
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

primary
#9F4FBE
secondary
#AACC9C
accent
#D65277
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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