#9E3FB2#9E3FB2

#9E3FB2 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.190 H 320.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9E3FB2
RGBrgb(158, 63, 178)
HSLhsl(290, 48%, 47%)
HSVhsv(290, 65%, 70%)
CMYKcmyk(11.2%, 64.6%, 0%, 30.2%)
CIE-LABlab(44.29, 55.78, -43.42)
CIE-LCHlch(44.29, 70.69, 322.10°)
OKLaboklab(54.38% 0.1458 -0.1212)
OKLCHoklch(54.38% 0.19 320.3)
XYZxyz(23.9130, 14.0396, 43.5612)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FB2 #53B23F
analogous
#643FB2 #9E3FB2 #B23F8D
triadic
#9E3FB2 #B29E3F #3FB29E
tetradic
#9E3FB2 #B2643F #53B23F #3F8DB2
square
#9E3FB2 #B2643F #53B23F #3F8DB2
split-complementary
#9E3FB2 #8DB23F #3FB264
monochromatic
#4E1F58 #762F85 #9E3FB2 #B766C9 #CD93D9

Accessibility & contrast

On white

5.52
#9E3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9E3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FB2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FB2#FFFFFF#000000##FFFFFF
##9E3FB21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#9F5273
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e3fb2;
/* rgb */ color: rgb(158, 63, 178);
/* oklch */ color: oklch(54.4% 0.190 320.3);
Tailwind
colors: {
  custom: {
    50: '#be7bc9',
    500: '#9e3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fb2;
$custom-light: #be7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fb2",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 289.565,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.18962,
    "h": 320.3
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#9E3FB2
secondary
#93C489
accent
#D75068
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9E3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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