#9B3CD2#9B3CD2

#9B3CD2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.223 H 310.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9B3CD2
RGBrgb(155, 60, 210)
HSLhsl(278, 63%, 53%)
HSVhsv(278, 71%, 82%)
CMYKcmyk(26.2%, 71.4%, 0%, 17.6%)
CIE-LABlab(45.43, 62.92, -60.22)
CIE-LCHlch(45.43, 87.10, 316.26°)
OKLaboklab(55.76% 0.143 -0.1705)
OKLCHoklch(55.76% 0.223 310)
XYZxyz(26.7640, 14.8540, 62.4175)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CD2 #73D23C
analogous
#503CD2 #9B3CD2 #D23CBE
triadic
#9B3CD2 #D29B3C #3CD29B
tetradic
#9B3CD2 #D2503C #73D23C #3CBED2
square
#9B3CD2 #D2503C #73D23C #3CBED2
split-complementary
#9B3CD2 #BED23C #3CD250
monochromatic
#561C78 #7A27AA #9B3CD2 #B46EDD #CE9FE9

Accessibility & contrast

On white

5.29
#9B3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9B3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CD2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CD2#FFFFFF#000000##FFFFFF
##9B3CD21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#1D6DCF
Tritanopia (blue-blind)
#935E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3cd2;
/* rgb */ color: rgb(155, 60, 210);
/* oklch */ color: oklch(55.8% 0.223 310.0);
Tailwind
colors: {
  custom: {
    50: '#bd7ae1',
    500: '#9b3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cd2;
$custom-light: #bd7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cd2",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 278,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.22253,
    "h": 310
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#9B3CD2
secondary
#ACD594
accent
#E6427E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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