#9B5FBE#9B5FBE

#9B5FBE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.152 H 311.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9B5FBE
RGBrgb(155, 95, 190)
HSLhsl(278, 42%, 56%)
HSVhsv(278, 50%, 75%)
CMYKcmyk(18.4%, 50%, 0%, 25.5%)
CIE-LABlab(50.54, 41.49, -40.53)
CIE-LCHlch(50.54, 58.01, 315.67°)
OKLaboklab(59.08% 0.1009 -0.1131)
OKLCHoklch(59.08% 0.152 311.7)
XYZxyz(26.9024, 18.8712, 50.9305)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5FBE #82BE5F
analogous
#6B5FBE #9B5FBE #BE5FB1
triadic
#9B5FBE #BE9B5F #5FBE9B
tetradic
#9B5FBE #BE6B5F #82BE5F #5FB1BE
square
#9B5FBE #BE6B5F #82BE5F #5FB1BE
split-complementary
#9B5FBE #B1BE5F #5FBE6B
monochromatic
#5A2F74 #7C419F #9B5FBE #B68BD0 #D1B6E1

Accessibility & contrast

On white

4.40
#9B5FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9B5FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5FBE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5FBE#FFFFFF#000000##000000
##9B5FBE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#976E86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b5fbe;
/* rgb */ color: rgb(155, 95, 190);
/* oklch */ color: oklch(59.1% 0.152 311.7);
Tailwind
colors: {
  custom: {
    50: '#ba8ed2',
    500: '#9b5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #9b5fbe;
$custom-light: #ba8ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5fbe",
  "rgb": {
    "r": 155,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 277.895,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.15157,
    "h": 311.7
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#9B5FBE
secondary
#B7D0A9
accent
#D25684
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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