#9F3EAE#9F3EAE

#9F3EAE is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.188 H 322.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9F3EAE
RGBrgb(159, 62, 174)
HSLhsl(292, 47%, 46%)
HSVhsv(292, 64%, 68%)
CMYKcmyk(8.6%, 64.4%, 0%, 31.8%)
CIE-LABlab(44.05, 55.69, -41.43)
CIE-LCHlch(44.05, 69.41, 323.35°)
OKLaboklab(54.16% 0.1481 -0.1154)
OKLCHoklch(54.16% 0.188 322.1)
XYZxyz(23.6599, 13.8734, 41.4678)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EAE #4DAE3E
analogous
#673EAE #9F3EAE #AE3E85
triadic
#9F3EAE #AE9F3E #3EAE9F
tetradic
#9F3EAE #AE673E #4DAE3E #3E85AE
square
#9F3EAE #AE673E #4DAE3E #3E85AE
split-complementary
#9F3EAE #85AE3E #3EAE67
monochromatic
#4D1E54 #762E81 #9F3EAE #BA62C7 #CE8FD7

Accessibility & contrast

On white

5.56
#9F3EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9F3EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EAE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EAE#FFFFFF#000000##FFFFFF
##9F3EAE1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#4C6CAB
Tritanopia (blue-blind)
#A15070
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3eae;
/* rgb */ color: rgb(159, 62, 174);
/* oklch */ color: oklch(54.2% 0.188 322.1);
Tailwind
colors: {
  custom: {
    50: '#be7ac7',
    500: '#9f3eae',
    950: '#000000',
  },
}
SCSS
$custom: #9f3eae;
$custom-light: #be7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3eae",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 291.964,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54162,
    "c": 0.18778,
    "h": 322.1
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#9F3EAE
secondary
#8EC286
accent
#D75163
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9F3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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