#9B3DCC#9B3DCC

#9B3DCC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.216 H 311.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9B3DCC
RGBrgb(155, 61, 204)
HSLhsl(279, 58%, 52%)
HSVhsv(279, 70%, 80%)
CMYKcmyk(24%, 70.1%, 0%, 20%)
CIE-LABlab(45.17, 61.24, -57.19)
CIE-LCHlch(45.17, 83.79, 316.96°)
OKLaboklab(55.44% 0.1427 -0.1616)
OKLCHoklch(55.44% 0.216 311.5)
XYZxyz(26.0834, 14.6663, 58.5719)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DCC #6ECC3D
analogous
#543DCC #9B3DCC #CC3DB5
triadic
#9B3DCC #CC9B3D #3DCC9B
tetradic
#9B3DCC #CC543D #6ECC3D #3DB5CC
square
#9B3DCC #CC543D #6ECC3D #3DB5CC
split-complementary
#9B3DCC #B5CC3D #3DCC54
monochromatic
#541E71 #792AA1 #9B3DCC #B46DD9 #CD9EE5

Accessibility & contrast

On white

5.34
#9B3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9B3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DCC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DCC#FFFFFF#000000##FFFFFF
##9B3DCC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#2A6DC9
Tritanopia (blue-blind)
#955C80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3dcc;
/* rgb */ color: rgb(155, 61, 204);
/* oklch */ color: oklch(55.4% 0.216 311.5);
Tailwind
colors: {
  custom: {
    50: '#bd7adc',
    500: '#9b3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dcc;
$custom-light: #bd7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dcc",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 279.441,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55441,
    "c": 0.21562,
    "h": 311.5
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#9B3DCC
secondary
#A9D293
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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