#9B5BE3#9B5BE3

#9B5BE3 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.200 H 302.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9B5BE3
RGBrgb(155, 91, 227)
HSLhsl(268, 71%, 62%)
HSVhsv(268, 60%, 89%)
CMYKcmyk(31.7%, 59.9%, 0%, 11%)
CIE-LABlab(51.83, 52.23, -59.58)
CIE-LCHlch(51.83, 79.23, 311.24°)
OKLaboklab(60.71% 0.1076 -0.1688)
OKLCHoklch(60.71% 0.2 302.5)
XYZxyz(31.1206, 19.9968, 74.8784)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5BE3 #A3E35B
analogous
#5B5FE3 #9B5BE3 #DF5BE3
triadic
#9B5BE3 #E39B5B #5BE39B
tetradic
#9B5BE3 #E35B5F #A3E35B #5BE3DF
square
#9B5BE3 #E35B5F #A3E35B #5BE3DF
split-complementary
#9B5BE3 #E3DF5B #5FE35B
monochromatic
#5E1DA7 #7B27DA #9B5BE3 #BB8FEC #DBC4F5

Accessibility & contrast

On white

4.20
#9B5BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9B5BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5BE3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5BE3#FFFFFF#000000##000000
##9B5BE31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#097AE7
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#8D7797
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b5be3;
/* rgb */ color: rgb(155, 91, 227);
/* oklch */ color: oklch(60.7% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#bd8cec',
    500: '#9b5be3',
    950: '#000000',
  },
}
SCSS
$custom: #9b5be3;
$custom-light: #bd8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5be3",
  "rgb": {
    "r": 155,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 268.235,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.20014,
    "h": 302.5
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#9B5BE3
secondary
#CEE6B4
accent
#D31378
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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