#9E2FB2#9E2FB2

#9E2FB2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.209 H 321.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9E2FB2
RGBrgb(158, 47, 178)
HSLhsl(291, 58%, 44%)
HSVhsv(291, 74%, 70%)
CMYKcmyk(11.2%, 73.6%, 0%, 30.2%)
CIE-LABlab(42.03, 62.14, -47.04)
CIE-LCHlch(42.03, 77.94, 322.88°)
OKLaboklab(52.76% 0.1628 -0.1317)
OKLCHoklch(52.76% 0.209 321)
XYZxyz(23.1520, 12.5177, 43.3075)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FB2 #43B22F
analogous
#5D2FB2 #9E2FB2 #B22F85
triadic
#9E2FB2 #B29E2F #2FB29E
tetradic
#9E2FB2 #B25D2F #43B22F #2F85B2
square
#9E2FB2 #B25D2F #43B22F #2F85B2
split-complementary
#9E2FB2 #85B22F #2FB25D
monochromatic
#481551 #732282 #9E2FB2 #BC4ED0 #CF7EDD

Accessibility & contrast

On white

5.99
#9E2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9E2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FB2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FB2#FFFFFF#000000##FFFFFF
##9E2FB21.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#9F486E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2fb2;
/* rgb */ color: rgb(158, 47, 178);
/* oklch */ color: oklch(52.8% 0.209 321.0);
Tailwind
colors: {
  custom: {
    50: '#be73ca',
    500: '#9e2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fb2;
$custom-light: #be73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fb2",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 290.84,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.20941,
    "h": 321
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#9E2FB2
secondary
#83C677
accent
#E1465E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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