#9E4FBB#9E4FBB

#9E4FBB is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.9% C 0.175 H 316.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9E4FBB
RGBrgb(158, 79, 187)
HSLhsl(284, 44%, 52%)
HSVhsv(284, 58%, 73%)
CMYKcmyk(15.5%, 57.8%, 0%, 26.7%)
CIE-LABlab(47.56, 50.05, -43.49)
CIE-LCHlch(47.56, 66.30, 319.01°)
OKLaboklab(56.92% 0.1261 -0.1215)
OKLCHoklch(56.92% 0.175 316.1)
XYZxyz(25.8648, 16.4498, 48.8167)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FBB #6CBB4F
analogous
#684FBB #9E4FBB #BB4FA2
triadic
#9E4FBB #BB9E4F #4FBB9E
tetradic
#9E4FBB #BB684F #6CBB4F #4FA2BB
square
#9E4FBB #BB684F #6CBB4F #4FA2BB
split-complementary
#9E4FBB #A2BB4F #4FBB68
monochromatic
#572868 #7B3994 #9E4FBB #B67BCC #CFA7DD

Accessibility & contrast

On white

4.90
#9E4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9E4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FBB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FBB#FFFFFF#000000##FFFFFF
##9E4FBB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#9C617D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e4fbb;
/* rgb */ color: rgb(158, 79, 187);
/* oklch */ color: oklch(56.9% 0.175 316.1);
Tailwind
colors: {
  custom: {
    50: '#bd84d0',
    500: '#9e4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fbb;
$custom-light: #bd84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fbb",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 283.889,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56917,
    "c": 0.17512,
    "h": 316.1
  },
  "luminance": 0.16449
}

Semantic roles & 50–950 ramp

primary
#9E4FBB
secondary
#A8CA9B
accent
#D45476
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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