#9E3FA2#9E3FA2

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

Color values

HEX#9E3FA2
RGBrgb(158, 63, 162)
HSLhsl(298, 44%, 44%)
HSVhsv(298, 61%, 64%)
CMYKcmyk(2.5%, 61.1%, 0%, 36.5%)
CIE-LABlab(43.41, 52.76, -35.34)
CIE-LCHlch(43.41, 63.50, 326.19°)
OKLaboklab(53.46% 0.1452 -0.0977)
OKLCHoklch(53.46% 0.175 326.1)
XYZxyz(22.3992, 13.4341, 35.5886)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FA2 #43A23F
analogous
#6D3FA2 #9E3FA2 #A23F75
triadic
#9E3FA2 #A29E3F #3FA29E
tetradic
#9E3FA2 #A26D3F #43A23F #3F75A2
square
#9E3FA2 #A26D3F #43A23F #3F75A2
split-complementary
#9E3FA2 #75A23F #3FA26D
monochromatic
#481D4A #732E76 #9E3FA2 #BC5EC0 #CF8AD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E3FA2#FFFFFF#000000##FFFFFF
##9E3FA21.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)
#315FA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#A24C6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e3fa2;
/* rgb */ color: rgb(158, 63, 162);
/* oklch */ color: oklch(53.5% 0.175 326.1);
Tailwind
colors: {
  custom: {
    50: '#bd7abe',
    500: '#9e3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fa2;
$custom-light: #bd7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fa2",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 297.576,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.17503,
    "h": 326.1
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#9E3FA2
secondary
#83BC81
accent
#D45459
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9E3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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