#9B5BDA#9B5BDA

#9B5BDA is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.190 H 304.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9B5BDA
RGBrgb(155, 91, 218)
HSLhsl(270, 63%, 61%)
HSVhsv(270, 58%, 85%)
CMYKcmyk(28.9%, 58.3%, 0%, 14.5%)
CIE-LABlab(51.28, 50.09, -55.37)
CIE-LCHlch(51.28, 74.67, 312.13°)
OKLaboklab(60.14% 0.1077 -0.1564)
OKLCHoklch(60.14% 0.19 304.6)
XYZxyz(29.9108, 19.5128, 68.5067)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5BDA #9ADA5B
analogous
#5B5BDA #9B5BDA #DA5BDA
triadic
#9B5BDA #DA9B5B #5BDA9B
tetradic
#9B5BDA #DA5B5B #9ADA5B #5BDADA
square
#9B5BDA #DA5B5B #9ADA5B #5BDADA
split-complementary
#9B5BDA #DADA5B #5BDA5B
monochromatic
#5E2298 #7D2ECA #9B5BDA #B98DE5 #D8BFF1

Accessibility & contrast

On white

4.28
#9B5BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9B5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5BDA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5BDA#FFFFFF#000000##000000
##9B5BDA1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2378DE
Deuteranopia (green-blind)
#407AD7
Tritanopia (blue-blind)
#907492
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b5bda;
/* rgb */ color: rgb(155, 91, 218);
/* oklch */ color: oklch(60.1% 0.190 304.6);
Tailwind
colors: {
  custom: {
    50: '#bc8ce6',
    500: '#9b5bda',
    950: '#000000',
  },
}
SCSS
$custom: #9b5bda;
$custom-light: #bc8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5bda",
  "rgb": {
    "r": 155,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 270.236,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60135,
    "c": 0.18994,
    "h": 304.6
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#9B5BDA
secondary
#C8E1B0
accent
#CB1B72
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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