#9B3CD4#9B3CD4

#9B3CD4 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.224 H 309.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9B3CD4
RGBrgb(155, 60, 212)
HSLhsl(278, 64%, 53%)
HSVhsv(278, 72%, 83%)
CMYKcmyk(26.9%, 71.7%, 0%, 16.9%)
CIE-LABlab(45.57, 63.35, -61.15)
CIE-LCHlch(45.57, 88.05, 316.01°)
OKLaboklab(55.9% 0.1427 -0.1732)
OKLCHoklch(55.9% 0.224 309.5)
XYZxyz(27.0147, 14.9543, 63.7379)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CD4 #75D43C
analogous
#4F3CD4 #9B3CD4 #D43CC1
triadic
#9B3CD4 #D49B3C #3CD49B
tetradic
#9B3CD4 #D44F3C #75D43C #3CC1D4
square
#9B3CD4 #D44F3C #75D43C #3CC1D4
split-complementary
#9B3CD4 #C1D43C #3CD44F
monochromatic
#571B7B #7A26AD #9B3CD4 #B56EDF #CEA0EA

Accessibility & contrast

On white

5.26
#9B3CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9B3CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CD4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CD4#FFFFFF#000000##FFFFFF
##9B3CD41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#186DD1
Tritanopia (blue-blind)
#935F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3cd4;
/* rgb */ color: rgb(155, 60, 212);
/* oklch */ color: oklch(55.9% 0.224 309.5);
Tailwind
colors: {
  custom: {
    50: '#bd7ae2',
    500: '#9b3cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cd4;
$custom-light: #bd7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cd4",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 277.5,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55896,
    "c": 0.22443,
    "h": 309.5
  },
  "luminance": 0.14954
}

Semantic roles & 50–950 ramp

primary
#9B3CD4
secondary
#AED795
accent
#E7417F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9B3CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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