#9B3DD4#9B3DD4

#9B3DD4 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.223 H 309.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9B3DD4
RGBrgb(155, 61, 212)
HSLhsl(277, 64%, 54%)
HSVhsv(277, 71%, 83%)
CMYKcmyk(26.9%, 71.2%, 0%, 16.9%)
CIE-LABlab(45.72, 62.94, -60.91)
CIE-LCHlch(45.72, 87.59, 315.94°)
OKLaboklab(56% 0.1417 -0.1726)
OKLCHoklch(56% 0.223 309.4)
XYZxyz(27.0676, 15.0600, 63.7556)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DD4 #76D43D
analogous
#4F3DD4 #9B3DD4 #D43DC1
triadic
#9B3DD4 #D49B3D #3DD49B
tetradic
#9B3DD4 #D44F3D #76D43D #3DC1D4
square
#9B3DD4 #D44F3D #76D43D #3DC1D4
split-complementary
#9B3DD4 #C1D43D #3DD44F
monochromatic
#571B7B #7A26AD #9B3DD4 #B56FDF #CFA1EA

Accessibility & contrast

On white

5.23
#9B3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9B3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DD4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DD4#FFFFFF#000000##FFFFFF
##9B3DD41.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#1A6DD1
Tritanopia (blue-blind)
#935F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3dd4;
/* rgb */ color: rgb(155, 61, 212);
/* oklch */ color: oklch(56.0% 0.223 309.4);
Tailwind
colors: {
  custom: {
    50: '#bd7be2',
    500: '#9b3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dd4;
$custom-light: #bd7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dd4",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 277.351,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55999,
    "c": 0.22329,
    "h": 309.4
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#9B3DD4
secondary
#AED796
accent
#E74180
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9B3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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