#9B3DCB#9B3DCB

#9B3DCB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.215 H 311.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9B3DCB
RGBrgb(155, 61, 203)
HSLhsl(280, 58%, 52%)
HSVhsv(280, 70%, 80%)
CMYKcmyk(23.6%, 70%, 0%, 20.4%)
CIE-LABlab(45.11, 61.03, -56.72)
CIE-LCHlch(45.11, 83.32, 317.10°)
OKLaboklab(55.37% 0.1429 -0.1602)
OKLCHoklch(55.37% 0.215 311.7)
XYZxyz(25.9638, 14.6185, 57.9423)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DCB #6DCB3D
analogous
#543DCB #9B3DCB #CB3DB4
triadic
#9B3DCB #CB9B3D #3DCB9B
tetradic
#9B3DCB #CB543D #6DCB3D #3DB4CB
square
#9B3DCB #CB543D #6DCB3D #3DB4CB
split-complementary
#9B3DCB #B4CB3D #3DCB54
monochromatic
#541E70 #782BA0 #9B3DCB #B46DD8 #CD9EE5

Accessibility & contrast

On white

5.35
#9B3DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9B3DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DCB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DCB#FFFFFF#000000##FFFFFF
##9B3DCB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3dcb;
/* rgb */ color: rgb(155, 61, 203);
/* oklch */ color: oklch(55.4% 0.215 311.7);
Tailwind
colors: {
  custom: {
    50: '#bd7adc',
    500: '#9b3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dcb;
$custom-light: #bd7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dcb",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 279.718,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.21466,
    "h": 311.7
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#9B3DCB
secondary
#A8D193
accent
#E1477B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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