#9B3CCA#9B3CCA

#9B3CCA is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.215 H 312.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9B3CCA
RGBrgb(155, 60, 202)
HSLhsl(280, 57%, 51%)
HSVhsv(280, 70%, 79%)
CMYKcmyk(23.3%, 70.3%, 0%, 20.8%)
CIE-LABlab(44.89, 61.24, -56.48)
CIE-LCHlch(44.89, 83.31, 317.31°)
OKLaboklab(55.2% 0.144 -0.1595)
OKLCHoklch(55.2% 0.215 312.1)
XYZxyz(25.7921, 14.4652, 57.2991)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CCA #6BCA3C
analogous
#543CCA #9B3CCA #CA3CB2
triadic
#9B3CCA #CA9B3C #3CCA9B
tetradic
#9B3CCA #CA543C #6BCA3C #3CB2CA
square
#9B3CCA #CA543C #6BCA3C #3CB2CA
split-complementary
#9B3CCA #B2CA3C #3CCA54
monochromatic
#531E6E #782B9E #9B3CCA #B46CD7 #CC9CE4

Accessibility & contrast

On white

5.39
#9B3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9B3CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CCA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CCA#FFFFFF#000000##FFFFFF
##9B3CCA1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3cca;
/* rgb */ color: rgb(155, 60, 202);
/* oklch */ color: oklch(55.2% 0.215 312.1);
Tailwind
colors: {
  custom: {
    50: '#bd7adb',
    500: '#9b3cca',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cca;
$custom-light: #bd7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cca",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 280.141,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.21492,
    "h": 312.1
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#9B3CCA
secondary
#A6D092
accent
#E1477A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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