#9E2FBA#9E2FBA

#9E2FBA is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.216 H 318.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9E2FBA
RGBrgb(158, 47, 186)
HSLhsl(288, 60%, 46%)
HSVhsv(288, 75%, 73%)
CMYKcmyk(15.1%, 74.7%, 0%, 27.1%)
CIE-LABlab(42.53, 63.63, -50.94)
CIE-LCHlch(42.53, 81.51, 321.32°)
OKLaboklab(53.28% 0.1621 -0.1431)
OKLCHoklch(53.28% 0.216 318.6)
XYZxyz(23.9788, 12.8484, 47.6618)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FBA #4BBA2F
analogous
#592FBA #9E2FBA #BA2F90
triadic
#9E2FBA #BA9E2F #2FBA9E
tetradic
#9E2FBA #BA592F #4BBA2F #2F90BA
square
#9E2FBA #BA592F #4BBA2F #2F90BA
split-complementary
#9E2FBA #90BA2F #2FBA59
monochromatic
#4B1658 #742389 #9E2FBA #BA53D3 #CD84E0

Accessibility & contrast

On white

5.88
#9E2FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9E2FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FBA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FBA#FFFFFF#000000##FFFFFF
##9E2FBA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#9D4C73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2fba;
/* rgb */ color: rgb(158, 47, 186);
/* oklch */ color: oklch(53.3% 0.216 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf73cf',
    500: '#9e2fba',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fba;
$custom-light: #bf73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fba",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 287.914,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53277,
    "c": 0.21621,
    "h": 318.6
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#9E2FBA
secondary
#8BC97C
accent
#E34565
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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