#9B3CCC#9B3CCC

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

Color values

HEX#9B3CCC
RGBrgb(155, 60, 204)
HSLhsl(280, 59%, 52%)
HSVhsv(280, 71%, 80%)
CMYKcmyk(24%, 70.6%, 0%, 20%)
CIE-LABlab(45.03, 61.66, -57.42)
CIE-LCHlch(45.03, 84.26, 317.04°)
OKLaboklab(55.34% 0.1438 -0.1623)
OKLCHoklch(55.34% 0.217 311.5)
XYZxyz(26.0305, 14.5606, 58.5543)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CCC #6DCC3C
analogous
#533CCC #9B3CCC #CC3CB5
triadic
#9B3CCC #CC9B3C #3CCC9B
tetradic
#9B3CCC #CC533C #6DCC3C #3CB5CC
square
#9B3CCC #CC533C #6DCC3C #3CB5CC
split-complementary
#9B3CCC #B5CC3C #3CCC53
monochromatic
#541D70 #782AA1 #9B3CCC #B46DD9 #CD9DE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B3CCC#FFFFFF#000000##FFFFFF
##9B3CCC1.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)
#0066D0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#955B80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3ccc;
/* rgb */ color: rgb(155, 60, 204);
/* oklch */ color: oklch(55.3% 0.217 311.5);
Tailwind
colors: {
  custom: {
    50: '#bd7adc',
    500: '#9b3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ccc;
$custom-light: #bd7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ccc",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 279.583,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.21681,
    "h": 311.5
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#9B3CCC
secondary
#A8D192
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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