#9F3EB2#9F3EB2

#9F3EB2 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.191 H 320.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9F3EB2
RGBrgb(159, 62, 178)
HSLhsl(290, 48%, 47%)
HSVhsv(290, 65%, 70%)
CMYKcmyk(10.7%, 65.2%, 0%, 30.2%)
CIE-LABlab(44.28, 56.45, -43.43)
CIE-LCHlch(44.28, 71.23, 322.43°)
OKLaboklab(54.4% 0.1482 -0.1212)
OKLCHoklch(54.4% 0.191 320.7)
XYZxyz(24.0556, 14.0317, 43.5521)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EB2 #51B23E
analogous
#653EB2 #9F3EB2 #B23E8B
triadic
#9F3EB2 #B29F3E #3EB29F
tetradic
#9F3EB2 #B2653E #51B23E #3E8BB2
square
#9F3EB2 #B2653E #51B23E #3E8BB2
split-complementary
#9F3EB2 #8BB23E #3EB265
monochromatic
#4E1E57 #762E85 #9F3EB2 #B964C9 #CD92D9

Accessibility & contrast

On white

5.52
#9F3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9F3EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EB2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EB2#FFFFFF#000000##FFFFFF
##9F3EB21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B5
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#A05273
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3eb2;
/* rgb */ color: rgb(159, 62, 178);
/* oklch */ color: oklch(54.4% 0.191 320.7);
Tailwind
colors: {
  custom: {
    50: '#bf7ac9',
    500: '#9f3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3eb2;
$custom-light: #bf7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3eb2",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 290.172,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.19144,
    "h": 320.7
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#9F3EB2
secondary
#92C488
accent
#D85066
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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