#9F3EA2#9F3EA2

#9F3EA2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.5% C 0.177 H 326.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9F3EA2
RGBrgb(159, 62, 162)
HSLhsl(298, 45%, 44%)
HSVhsv(298, 62%, 64%)
CMYKcmyk(1.9%, 61.7%, 0%, 36.5%)
CIE-LABlab(43.40, 53.47, -35.34)
CIE-LCHlch(43.40, 64.09, 326.53°)
OKLaboklab(53.48% 0.1476 -0.0977)
OKLCHoklch(53.48% 0.177 326.5)
XYZxyz(22.5419, 13.4262, 35.5796)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EA2 #41A23E
analogous
#6D3EA2 #9F3EA2 #A23E73
triadic
#9F3EA2 #A29F3E #3EA29F
tetradic
#9F3EA2 #A26D3E #41A23E #3E73A2
square
#9F3EA2 #A26D3E #41A23E #3E73A2
split-complementary
#9F3EA2 #73A23E #3EA26D
monochromatic
#481C49 #742D76 #9F3EA2 #BE5CC1 #D089D2

Accessibility & contrast

On white

5.70
#9F3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9F3EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EA2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EA2#FFFFFF#000000##FFFFFF
##9F3EA21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#A34B6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f3ea2;
/* rgb */ color: rgb(159, 62, 162);
/* oklch */ color: oklch(53.5% 0.177 326.5);
Tailwind
colors: {
  custom: {
    50: '#be7abe',
    500: '#9f3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ea2;
$custom-light: #be7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ea2",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 298.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.17703,
    "h": 326.5
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#9F3EA2
secondary
#81BC80
accent
#D45357
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9F3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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