#9B3DCA#9B3DCA

#9B3DCA is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.214 H 312.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9B3DCA
RGBrgb(155, 61, 202)
HSLhsl(280, 57%, 52%)
HSVhsv(280, 70%, 79%)
CMYKcmyk(23.3%, 69.8%, 0%, 20.8%)
CIE-LABlab(45.04, 60.82, -56.24)
CIE-LCHlch(45.04, 82.84, 317.24°)
OKLaboklab(55.3% 0.143 -0.1588)
OKLCHoklch(55.3% 0.214 312)
XYZxyz(25.8450, 14.5710, 57.3167)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DCA #6CCA3D
analogous
#553DCA #9B3DCA #CA3DB3
triadic
#9B3DCA #CA9B3D #3DCA9B
tetradic
#9B3DCA #CA553D #6CCA3D #3DB3CA
square
#9B3DCA #CA553D #6CCA3D #3DB3CA
split-complementary
#9B3DCA #B3CA3D #3DCA55
monochromatic
#541E6E #782B9F #9B3DCA #B46DD7 #CD9DE4

Accessibility & contrast

On white

5.37
#9B3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9B3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DCA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DCA#FFFFFF#000000##FFFFFF
##9B3DCA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#2D6CC7
Tritanopia (blue-blind)
#955B7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3dca;
/* rgb */ color: rgb(155, 61, 202);
/* oklch */ color: oklch(55.3% 0.214 312.0);
Tailwind
colors: {
  custom: {
    50: '#bd7adb',
    500: '#9b3dca',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dca;
$custom-light: #bd7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dca",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 280,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.21371,
    "h": 312
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#9B3DCA
secondary
#A7D092
accent
#E0477A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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