#9F3FA5#9F3FA5

#9F3FA5 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.178 H 325.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9F3FA5
RGBrgb(159, 63, 165)
HSLhsl(296, 45%, 45%)
HSVhsv(296, 62%, 65%)
CMYKcmyk(3.6%, 61.8%, 0%, 35.3%)
CIE-LABlab(43.72, 53.57, -36.63)
CIE-LCHlch(43.72, 64.89, 325.64°)
OKLaboklab(53.76% 0.1466 -0.1014)
OKLCHoklch(53.76% 0.178 325.3)
XYZxyz(22.8666, 13.6439, 37.0191)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FA5 #45A53F
analogous
#6C3FA5 #9F3FA5 #A53F78
triadic
#9F3FA5 #A59F3F #3FA59F
tetradic
#9F3FA5 #A56C3F #45A53F #3F78A5
square
#9F3FA5 #A56C3F #45A53F #3F78A5
split-complementary
#9F3FA5 #78A53F #3FA56C
monochromatic
#4A1D4C #742E79 #9F3FA5 #BC5FC2 #CF8CD3

Accessibility & contrast

On white

5.63
#9F3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9F3FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FA5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FA5#FFFFFF#000000##FFFFFF
##9F3FA51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#526BA2
Tritanopia (blue-blind)
#A34D6C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f3fa5;
/* rgb */ color: rgb(159, 63, 165);
/* oklch */ color: oklch(53.8% 0.178 325.3);
Tailwind
colors: {
  custom: {
    50: '#be7ac0',
    500: '#9f3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fa5;
$custom-light: #be7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fa5",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 296.471,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.17826,
    "h": 325.3
  },
  "luminance": 0.13643
}

Semantic roles & 50–950 ramp

primary
#9F3FA5
secondary
#86BE82
accent
#D4535B
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9F3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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