#9E5FBB#9E5FBB

#9E5FBB is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.3% C 0.149 H 314.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9E5FBB
RGBrgb(158, 95, 187)
HSLhsl(281, 40%, 55%)
HSVhsv(281, 49%, 73%)
CMYKcmyk(15.5%, 49.2%, 0%, 26.7%)
CIE-LABlab(50.74, 41.68, -38.46)
CIE-LCHlch(50.74, 56.71, 317.30°)
OKLaboklab(59.26% 0.1043 -0.107)
OKLCHoklch(59.26% 0.149 314.3)
XYZxyz(27.1609, 19.0421, 49.2488)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FBB #7CBB5F
analogous
#705FBB #9E5FBB #BB5FAA
triadic
#9E5FBB #BB9E5F #5FBB9E
tetradic
#9E5FBB #BB705F #7CBB5F #5FAABB
square
#9E5FBB #BB705F #7CBB5F #5FAABB
split-complementary
#9E5FBB #AABB5F #5FBB70
monochromatic
#5C3070 #7F429B #9E5FBB #B88ACD #D2B5E0

Accessibility & contrast

On white

4.37
#9E5FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9E5FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FBB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FBB#FFFFFF#000000##000000
##9E5FBB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#5E7AB9
Tritanopia (blue-blind)
#9C6D84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9e5fbb;
/* rgb */ color: rgb(158, 95, 187);
/* oklch */ color: oklch(59.3% 0.149 314.3);
Tailwind
colors: {
  custom: {
    50: '#bc8ed0',
    500: '#9e5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9e5fbb;
$custom-light: #bc8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5fbb",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 281.087,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59258,
    "c": 0.1494,
    "h": 314.3
  },
  "luminance": 0.19041
}

Semantic roles & 50–950 ramp

primary
#9E5FBB
secondary
#B4CEA8
accent
#D0587E
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9E5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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