#9C3BD2#9C3BD2

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

Color values

HEX#9C3BD2
RGBrgb(156, 59, 210)
HSLhsl(279, 63%, 53%)
HSVhsv(279, 72%, 82%)
CMYKcmyk(25.7%, 71.9%, 0%, 17.6%)
CIE-LABlab(45.43, 63.52, -60.22)
CIE-LCHlch(45.43, 87.53, 316.53°)
OKLaboklab(55.78% 0.1452 -0.1705)
OKLCHoklch(55.78% 0.224 310.4)
XYZxyz(26.9049, 14.8496, 62.4092)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3BD2 #71D23B
analogous
#503BD2 #9C3BD2 #D23BBD
triadic
#9C3BD2 #D29C3B #3BD29C
tetradic
#9C3BD2 #D2503B #71D23B #3BBDD2
square
#9C3BD2 #D2503B #71D23B #3BBDD2
split-complementary
#9C3BD2 #BDD23B #3BD250
monochromatic
#561B77 #7A27A9 #9C3BD2 #B56DDD #CE9FE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C3BD2#FFFFFF#000000##FFFFFF
##9C3BD21.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)
#1E6DCF
Tritanopia (blue-blind)
#955D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c3bd2;
/* rgb */ color: rgb(156, 59, 210);
/* oklch */ color: oklch(55.8% 0.224 310.4);
Tailwind
colors: {
  custom: {
    50: '#be7ae1',
    500: '#9c3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3bd2;
$custom-light: #be7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3bd2",
  "rgb": {
    "r": 156,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 278.543,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.22396,
    "h": 310.4
  },
  "luminance": 0.14849
}

Semantic roles & 50–950 ramp

primary
#9C3BD2
secondary
#ABD594
accent
#E6427D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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