#9B5BF0#9B5BF0

#9B5BF0 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.215 H 299.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9B5BF0
RGBrgb(155, 91, 240)
HSLhsl(266, 83%, 65%)
HSVhsv(266, 62%, 94%)
CMYKcmyk(35.4%, 62.1%, 0%, 5.9%)
CIE-LABlab(52.67, 55.39, -65.54)
CIE-LCHlch(52.67, 85.81, 310.20°)
OKLaboklab(61.58% 0.107 -0.1863)
OKLCHoklch(61.58% 0.215 299.9)
XYZxyz(32.9830, 20.7417, 84.6870)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5BF0 #B0F05B
analogous
#5B65F0 #9B5BF0 #E65BF0
triadic
#9B5BF0 #F09B5B #5BF09B
tetradic
#9B5BF0 #F05B65 #B0F05B #5BF0E6
square
#9B5BF0 #F05B65 #B0F05B #5BF0E6
split-complementary
#9B5BF0 #F0E65B #65F05B
monochromatic
#5C11BF #7923EB #9B5BF0 #BD93F5 #DFCBFA

Accessibility & contrast

On white

4.08
#9B5BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9B5BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5BF0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5BF0#FFFFFF#000000##000000
##9B5BF01.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#1C7DED
Tritanopia (blue-blind)
#887C9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b5bf0;
/* rgb */ color: rgb(155, 91, 240);
/* oklch */ color: oklch(61.6% 0.215 299.9);
Tailwind
colors: {
  custom: {
    50: '#be8df6',
    500: '#9b5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #9b5bf0;
$custom-light: #be8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5bf0",
  "rgb": {
    "r": 155,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 265.772,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61584,
    "c": 0.21482,
    "h": 299.9
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#9B5BF0
secondary
#D7EDBA
accent
#E00682
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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