#9B3BD4#9B3BD4

#9B3BD4 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.8% C 0.226 H 309.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9B3BD4
RGBrgb(155, 59, 212)
HSLhsl(278, 64%, 53%)
HSVhsv(278, 72%, 83%)
CMYKcmyk(26.9%, 72.2%, 0%, 16.9%)
CIE-LABlab(45.43, 63.75, -61.38)
CIE-LCHlch(45.43, 88.50, 316.09°)
OKLaboklab(55.79% 0.1436 -0.1739)
OKLCHoklch(55.79% 0.226 309.6)
XYZxyz(26.9628, 14.8505, 63.7206)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BD4 #74D43B
analogous
#4E3BD4 #9B3BD4 #D43BC1
triadic
#9B3BD4 #D49B3B #3BD49B
tetradic
#9B3BD4 #D44E3B #74D43B #3BC1D4
square
#9B3BD4 #D44E3B #74D43B #3BC1D4
split-complementary
#9B3BD4 #C1D43B #3BD44E
monochromatic
#561B7A #7A26AC #9B3BD4 #B56DDF #CE9FEA

Accessibility & contrast

On white

5.29
#9B3BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9B3BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BD4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BD4#FFFFFF#000000##FFFFFF
##9B3BD41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#166DD1
Tritanopia (blue-blind)
#935E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3bd4;
/* rgb */ color: rgb(155, 59, 212);
/* oklch */ color: oklch(55.8% 0.226 309.6);
Tailwind
colors: {
  custom: {
    50: '#bd7ae2',
    500: '#9b3bd4',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bd4;
$custom-light: #bd7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bd4",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 277.647,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.22556,
    "h": 309.6
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#9B3BD4
secondary
#ADD694
accent
#E7417F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9B3BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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