#9B3CCB#9B3CCB

#9B3CCB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.216 H 311.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9B3CCB
RGBrgb(155, 60, 203)
HSLhsl(280, 58%, 52%)
HSVhsv(280, 70%, 80%)
CMYKcmyk(23.6%, 70.4%, 0%, 20.4%)
CIE-LABlab(44.96, 61.45, -56.95)
CIE-LCHlch(44.96, 83.78, 317.17°)
OKLaboklab(55.27% 0.1439 -0.1609)
OKLCHoklch(55.27% 0.216 311.8)
XYZxyz(25.9109, 14.5128, 57.9246)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CCB #6CCB3C
analogous
#543CCB #9B3CCB #CB3CB4
triadic
#9B3CCB #CB9B3C #3CCB9B
tetradic
#9B3CCB #CB543C #6CCB3C #3CB4CB
square
#9B3CCB #CB543C #6CCB3C #3CB4CB
split-complementary
#9B3CCB #B4CB3C #3CCB54
monochromatic
#541E6F #782A9F #9B3CCB #B46CD8 #CD9DE5

Accessibility & contrast

On white

5.38
#9B3CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9B3CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CCB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CCB#FFFFFF#000000##FFFFFF
##9B3CCB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#955B80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3ccb;
/* rgb */ color: rgb(155, 60, 203);
/* oklch */ color: oklch(55.3% 0.216 311.8);
Tailwind
colors: {
  custom: {
    50: '#bd7adc',
    500: '#9b3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ccb;
$custom-light: #bd7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ccb",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 279.86,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55267,
    "c": 0.21586,
    "h": 311.8
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#9B3CCB
secondary
#A7D192
accent
#E1477B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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