#9B5CE0#9B5CE0

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

Color values

HEX#9B5CE0
RGBrgb(155, 92, 224)
HSLhsl(269, 68%, 62%)
HSVhsv(269, 59%, 88%)
CMYKcmyk(30.8%, 58.9%, 0%, 12.2%)
CIE-LABlab(51.84, 50.99, -57.87)
CIE-LCHlch(51.84, 77.13, 311.38°)
OKLaboklab(60.66% 0.1065 -0.1638)
OKLCHoklch(60.66% 0.195 303)
XYZxyz(30.7962, 20.0047, 72.7454)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CE0 #A1E05C
analogous
#5C5FE0 #9B5CE0 #DD5CE0
triadic
#9B5CE0 #E09B5C #5CE09B
tetradic
#9B5CE0 #E05C5F #A1E05C #5CE0DD
square
#9B5CE0 #E05C5F #A1E05C #5CE0DD
split-complementary
#9B5CE0 #E0DD5C #5FE05C
monochromatic
#5E1FA3 #7B29D6 #9B5CE0 #BB8FEA #DAC3F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B5CE0#FFFFFF#000000##000000
##9B5CE01.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)
#197AE4
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#8E7795
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b5ce0;
/* rgb */ color: rgb(155, 92, 224);
/* oklch */ color: oklch(60.7% 0.195 303.0);
Tailwind
colors: {
  custom: {
    50: '#bc8dea',
    500: '#9b5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ce0;
$custom-light: #bc8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ce0",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 268.636,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60661,
    "c": 0.19533,
    "h": 303
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#9B5CE0
secondary
#CDE4B4
accent
#D01677
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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