#9E3FBB#9E3FBB

#9E3FBB is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.198 H 317.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9E3FBB
RGBrgb(158, 63, 187)
HSLhsl(286, 50%, 49%)
HSVhsv(286, 66%, 73%)
CMYKcmyk(15.5%, 66.3%, 0%, 26.7%)
CIE-LABlab(44.82, 57.55, -47.86)
CIE-LCHlch(44.82, 74.85, 320.25°)
OKLaboklab(54.93% 0.1456 -0.1342)
OKLCHoklch(54.93% 0.198 317.3)
XYZxyz(24.8464, 14.4130, 48.4773)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FBB #5CBB3F
analogous
#603FBB #9E3FBB #BB3F9A
triadic
#9E3FBB #BB9E3F #3FBB9E
tetradic
#9E3FBB #BB603F #5CBB3F #3F9ABB
square
#9E3FBB #BB603F #5CBB3F #3F9ABB
split-complementary
#9E3FBB #9ABB3F #3FBB60
monochromatic
#51205F #77308D #9E3FBB #B66ACD #CC98DC

Accessibility & contrast

On white

5.41
#9E3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9E3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FBB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FBB#FFFFFF#000000##FFFFFF
##9E3FBB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#9D5678
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e3fbb;
/* rgb */ color: rgb(158, 63, 187);
/* oklch */ color: oklch(54.9% 0.198 317.3);
Tailwind
colors: {
  custom: {
    50: '#be7bd0',
    500: '#9e3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fbb;
$custom-light: #be7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fbb",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 285.968,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.19803,
    "h": 317.3
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#9E3FBB
secondary
#9BC88E
accent
#D94F6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9E3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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