#9B3BD2#9B3BD2

#9B3BD2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.7% C 0.224 H 310.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9B3BD2
RGBrgb(155, 59, 210)
HSLhsl(278, 63%, 53%)
HSVhsv(278, 72%, 82%)
CMYKcmyk(26.2%, 71.9%, 0%, 17.6%)
CIE-LABlab(45.29, 63.33, -60.45)
CIE-LCHlch(45.29, 87.55, 316.33°)
OKLaboklab(55.65% 0.1439 -0.1712)
OKLCHoklch(55.65% 0.224 310.1)
XYZxyz(26.7121, 14.7502, 62.4002)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BD2 #72D23B
analogous
#503BD2 #9B3BD2 #D23BBD
triadic
#9B3BD2 #D29B3B #3BD29B
tetradic
#9B3BD2 #D2503B #72D23B #3BBDD2
square
#9B3BD2 #D2503B #72D23B #3BBDD2
split-complementary
#9B3BD2 #BDD23B #3BD250
monochromatic
#561B77 #7A27A9 #9B3BD2 #B46DDD #CE9FE9

Accessibility & contrast

On white

5.32
#9B3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9B3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BD2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BD2#FFFFFF#000000##FFFFFF
##9B3BD21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#1B6DCF
Tritanopia (blue-blind)
#935D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3bd2;
/* rgb */ color: rgb(155, 59, 210);
/* oklch */ color: oklch(55.7% 0.224 310.1);
Tailwind
colors: {
  custom: {
    50: '#bd79e1',
    500: '#9b3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bd2;
$custom-light: #bd79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bd2",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 278.146,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.22366,
    "h": 310.1
  },
  "luminance": 0.1475
}

Semantic roles & 50–950 ramp

primary
#9B3BD2
secondary
#ACD594
accent
#E6427E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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