#9B3ED6#9B3ED6

#9B3ED6 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.2% C 0.224 H 308.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9B3ED6
RGBrgb(155, 62, 214)
HSLhsl(277, 65%, 54%)
HSVhsv(277, 71%, 84%)
CMYKcmyk(27.6%, 71%, 0%, 16.1%)
CIE-LABlab(46.00, 62.95, -61.60)
CIE-LCHlch(46.00, 88.08, 315.62°)
OKLaboklab(56.25% 0.1404 -0.1746)
OKLCHoklch(56.25% 0.224 308.8)
XYZxyz(27.3753, 15.2693, 65.1104)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3ED6 #79D63E
analogous
#4F3ED6 #9B3ED6 #D63EC5
triadic
#9B3ED6 #D69B3E #3ED69B
tetradic
#9B3ED6 #D64F3E #79D63E #3EC5D6
square
#9B3ED6 #D64F3E #79D63E #3EC5D6
split-complementary
#9B3ED6 #C5D63E #3ED64F
monochromatic
#581B7F #7B26B1 #9B3ED6 #B570E1 #CFA3EB

Accessibility & contrast

On white

5.18
#9B3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9B3ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3ED6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3ED6#FFFFFF#000000##FFFFFF
##9B3ED61.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#176ED3
Tritanopia (blue-blind)
#926186
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b3ed6;
/* rgb */ color: rgb(155, 62, 214);
/* oklch */ color: oklch(56.2% 0.224 308.8);
Tailwind
colors: {
  custom: {
    50: '#bd7be3',
    500: '#9b3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ed6;
$custom-light: #bd7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ed6",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 276.711,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56245,
    "c": 0.22406,
    "h": 308.8
  },
  "luminance": 0.15269
}

Semantic roles & 50–950 ramp

primary
#9B3ED6
secondary
#B1D898
accent
#E84081
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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