#9F3EAA#9F3EAA

#9F3EAA is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.184 H 323.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9F3EAA
RGBrgb(159, 62, 170)
HSLhsl(294, 47%, 45%)
HSVhsv(294, 64%, 67%)
CMYKcmyk(6.5%, 63.5%, 0%, 33.3%)
CIE-LABlab(43.83, 54.94, -39.42)
CIE-LCHlch(43.83, 67.62, 324.34°)
OKLaboklab(53.93% 0.148 -0.1095)
OKLCHoklch(53.93% 0.184 323.5)
XYZxyz(23.2757, 13.7197, 39.4446)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EAA #49AA3E
analogous
#693EAA #9F3EAA #AA3E7F
triadic
#9F3EAA #AA9F3E #3EAA9F
tetradic
#9F3EAA #AA693E #49AA3E #3E7FAA
square
#9F3EAA #AA693E #49AA3E #3E7FAA
split-complementary
#9F3EAA #7FAA3E #3EAA69
monochromatic
#4B1D50 #752E7D #9F3EAA #BB60C5 #CE8DD5

Accessibility & contrast

On white

5.61
#9F3EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9F3EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EAA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EAA#FFFFFF#000000##FFFFFF
##9F3EAA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#4E6CA7
Tritanopia (blue-blind)
#A24E6E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3eaa;
/* rgb */ color: rgb(159, 62, 170);
/* oklch */ color: oklch(53.9% 0.184 323.5);
Tailwind
colors: {
  custom: {
    50: '#be7ac4',
    500: '#9f3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9f3eaa;
$custom-light: #be7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3eaa",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 293.889,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.18415,
    "h": 323.5
  },
  "luminance": 0.13718
}

Semantic roles & 50–950 ramp

primary
#9F3EAA
secondary
#8AC084
accent
#D6525F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9F3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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