#9B3CCD#9B3CCD

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

Color values

HEX#9B3CCD
RGBrgb(155, 60, 205)
HSLhsl(279, 59%, 52%)
HSVhsv(279, 71%, 80%)
CMYKcmyk(24.4%, 70.7%, 0%, 19.6%)
CIE-LABlab(45.09, 61.87, -57.89)
CIE-LCHlch(45.09, 84.73, 316.90°)
OKLaboklab(55.41% 0.1436 -0.1637)
OKLCHoklch(55.41% 0.218 311.3)
XYZxyz(26.1508, 14.6087, 59.1880)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CCD #6ECD3C
analogous
#523CCD #9B3CCD #CD3CB7
triadic
#9B3CCD #CD9B3C #3CCD9B
tetradic
#9B3CCD #CD523C #6ECD3C #3CB7CD
square
#9B3CCD #CD523C #6ECD3C #3CB7CD
split-complementary
#9B3CCD #B7CD3C #3CCD52
monochromatic
#541D71 #792AA2 #9B3CCD #B46DD9 #CD9DE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B3CCD#FFFFFF#000000##FFFFFF
##9B3CCD1.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)
#0066D1
Deuteranopia (green-blind)
#276CCA
Tritanopia (blue-blind)
#955C81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3ccd;
/* rgb */ color: rgb(155, 60, 205);
/* oklch */ color: oklch(55.4% 0.218 311.3);
Tailwind
colors: {
  custom: {
    50: '#bd7add',
    500: '#9b3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ccd;
$custom-light: #bd7add;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ccd",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 279.31,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.21776,
    "h": 311.3
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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