#9F4EBE#9F4EBE

#9F4EBE is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.180 H 315.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9F4EBE
RGBrgb(159, 78, 190)
HSLhsl(283, 46%, 53%)
HSVhsv(283, 59%, 75%)
CMYKcmyk(16.3%, 58.9%, 0%, 25.5%)
CIE-LABlab(47.67, 51.43, -45.04)
CIE-LCHlch(47.67, 68.37, 318.79°)
OKLaboklab(57.08% 0.1287 -0.126)
OKLCHoklch(57.08% 0.18 315.6)
XYZxyz(26.3153, 16.5383, 50.5112)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4EBE #6DBE4E
analogous
#674EBE #9F4EBE #BE4EA5
triadic
#9F4EBE #BE9F4E #4EBE9F
tetradic
#9F4EBE #BE674E #6DBE4E #4EA5BE
square
#9F4EBE #BE674E #6DBE4E #4EA5BE
split-complementary
#9F4EBE #A5BE4E #4EBE67
monochromatic
#58276A #7D3897 #9F4EBE #B77BCE #D0A8DF

Accessibility & contrast

On white

4.88
#9F4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9F4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4EBE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4EBE#FFFFFF#000000##FFFFFF
##9F4EBE1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#9D617F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f4ebe;
/* rgb */ color: rgb(159, 78, 190);
/* oklch */ color: oklch(57.1% 0.180 315.6);
Tailwind
colors: {
  custom: {
    50: '#be84d2',
    500: '#9f4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ebe;
$custom-light: #be84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ebe",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 283.393,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.18016,
    "h": 315.6
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#9F4EBE
secondary
#A9CC9C
accent
#D65276
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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