#9F3EB8#9F3EB8

#9F3EB8 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.197 H 318.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9F3EB8
RGBrgb(159, 62, 184)
HSLhsl(288, 50%, 48%)
HSVhsv(288, 66%, 72%)
CMYKcmyk(13.6%, 66.3%, 0%, 27.8%)
CIE-LABlab(44.63, 57.62, -46.40)
CIE-LCHlch(44.63, 73.98, 321.16°)
OKLaboklab(54.77% 0.1481 -0.1299)
OKLCHoklch(54.77% 0.197 318.7)
XYZxyz(24.6713, 14.2780, 46.7945)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EB8 #57B83E
analogous
#623EB8 #9F3EB8 #B83E94
triadic
#9F3EB8 #B89F3E #3EB89F
tetradic
#9F3EB8 #B8623E #57B83E #3E94B8
square
#9F3EB8 #B8623E #57B83E #3E94B8
split-complementary
#9F3EB8 #94B83E #3EB862
monochromatic
#501F5C #772F8A #9F3EB8 #B767CC #CD95DB

Accessibility & contrast

On white

5.45
#9F3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9F3EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EB8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EB8#FFFFFF#000000##FFFFFF
##9F3EB81.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1063BC
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#9F5476
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3eb8;
/* rgb */ color: rgb(159, 62, 184);
/* oklch */ color: oklch(54.8% 0.197 318.7);
Tailwind
colors: {
  custom: {
    50: '#bf7ace',
    500: '#9f3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #9f3eb8;
$custom-light: #bf7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3eb8",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 287.705,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.19697,
    "h": 318.7
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#9F3EB8
secondary
#97C78B
accent
#D94F6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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