#9F3EB7#9F3EB7

#9F3EB7 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.196 H 319.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9F3EB7
RGBrgb(159, 62, 183)
HSLhsl(288, 49%, 48%)
HSVhsv(288, 66%, 72%)
CMYKcmyk(13.1%, 66.1%, 0%, 28.2%)
CIE-LABlab(44.57, 57.42, -45.91)
CIE-LCHlch(44.57, 73.52, 321.36°)
OKLaboklab(54.7% 0.1481 -0.1284)
OKLCHoklch(54.7% 0.196 319.1)
XYZxyz(24.5668, 14.2362, 46.2444)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EB7 #56B73E
analogous
#623EB7 #9F3EB7 #B73E92
triadic
#9F3EB7 #B79F3E #3EB79F
tetradic
#9F3EB7 #B7623E #56B73E #3E92B7
square
#9F3EB7 #B7623E #56B73E #3E92B7
split-complementary
#9F3EB7 #92B73E #3EB762
monochromatic
#501F5C #772F89 #9F3EB7 #B767CB #CD94DB

Accessibility & contrast

On white

5.46
#9F3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9F3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EB7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EB7#FFFFFF#000000##FFFFFF
##9F3EB71.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BB
Deuteranopia (green-blind)
#466DB4
Tritanopia (blue-blind)
#9F5375
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3eb7;
/* rgb */ color: rgb(159, 62, 183);
/* oklch */ color: oklch(54.7% 0.196 319.1);
Tailwind
colors: {
  custom: {
    50: '#bf7acd',
    500: '#9f3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #9f3eb7;
$custom-light: #bf7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3eb7",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 288.099,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.19604,
    "h": 319.1
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#9F3EB7
secondary
#96C68A
accent
#D94F6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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