#9B3DCD#9B3DCD

#9B3DCD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.217 H 311.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9B3DCD
RGBrgb(155, 61, 205)
HSLhsl(279, 59%, 52%)
HSVhsv(279, 70%, 80%)
CMYKcmyk(24.4%, 70.2%, 0%, 19.6%)
CIE-LABlab(45.24, 61.45, -57.65)
CIE-LCHlch(45.24, 84.26, 316.83°)
OKLaboklab(55.51% 0.1426 -0.163)
OKLCHoklch(55.51% 0.217 311.2)
XYZxyz(26.2037, 14.7145, 59.2056)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DCD #6FCD3D
analogous
#533DCD #9B3DCD #CD3DB7
triadic
#9B3DCD #CD9B3D #3DCD9B
tetradic
#9B3DCD #CD533D #6FCD3D #3DB7CD
square
#9B3DCD #CD533D #6FCD3D #3DB7CD
split-complementary
#9B3DCD #B7CD3D #3DCD53
monochromatic
#551D72 #792AA3 #9B3DCD #B46EDA #CD9EE6

Accessibility & contrast

On white

5.33
#9B3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9B3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DCD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DCD#FFFFFF#000000##FFFFFF
##9B3DCD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#955C81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3dcd;
/* rgb */ color: rgb(155, 61, 205);
/* oklch */ color: oklch(55.5% 0.217 311.2);
Tailwind
colors: {
  custom: {
    50: '#bd7add',
    500: '#9b3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dcd;
$custom-light: #bd7add;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dcd",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 279.167,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5551,
    "c": 0.21658,
    "h": 311.2
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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