#9E4FA2#9E4FA2

#9E4FA2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.6% C 0.150 H 325.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9E4FA2
RGBrgb(158, 79, 162)
HSLhsl(297, 34%, 47%)
HSVhsv(297, 51%, 64%)
CMYKcmyk(2.5%, 51.2%, 0%, 36.5%)
CIE-LABlab(46.27, 45.04, -30.84)
CIE-LCHlch(46.27, 54.58, 325.60°)
OKLaboklab(55.55% 0.1237 -0.0849)
OKLCHoklch(55.55% 0.15 325.5)
XYZxyz(23.4176, 15.4709, 35.9281)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FA2 #53A24F
analogous
#744FA2 #9E4FA2 #A24F7D
triadic
#9E4FA2 #A29E4F #4FA29E
tetradic
#9E4FA2 #A2744F #53A24F #4F7DA2
square
#9E4FA2 #A2744F #53A24F #4F7DA2
split-complementary
#9E4FA2 #7DA24F #4FA274
monochromatic
#4E2750 #763B79 #9E4FA2 #B773BB #CD9CCF

Accessibility & contrast

On white

5.13
#9E4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9E4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FA2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FA2#FFFFFF#000000##FFFFFF
##9E4FA21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#A15971
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e4fa2;
/* rgb */ color: rgb(158, 79, 162);
/* oklch */ color: oklch(55.6% 0.150 325.5);
Tailwind
colors: {
  custom: {
    50: '#bd84be',
    500: '#9e4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fa2;
$custom-light: #bd84be;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fa2",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 297.108,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.14998,
    "h": 325.5
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#9E4FA2
secondary
#93BC91
accent
#CB5D63
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #9E4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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