#9C3BD5#9C3BD5

#9C3BD5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.0% C 0.227 H 309.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9C3BD5
RGBrgb(156, 59, 213)
HSLhsl(278, 65%, 53%)
HSVhsv(278, 72%, 84%)
CMYKcmyk(26.8%, 72.3%, 0%, 16.5%)
CIE-LABlab(45.63, 64.16, -61.61)
CIE-LCHlch(45.63, 88.95, 316.16°)
OKLaboklab(55.99% 0.1448 -0.1746)
OKLCHoklch(55.99% 0.227 309.7)
XYZxyz(27.2821, 15.0005, 64.3961)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3BD5 #74D53B
analogous
#4F3BD5 #9C3BD5 #D53BC1
triadic
#9C3BD5 #D59C3B #3BD59C
tetradic
#9C3BD5 #D54F3B #74D53B #3BC1D5
square
#9C3BD5 #D54F3B #74D53B #3BC1D5
split-complementary
#9C3BD5 #C1D53B #3BD54F
monochromatic
#571A7B #7B25AE #9C3BD5 #B56DE0 #CFA0EB

Accessibility & contrast

On white

5.25
#9C3BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9C3BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3BD5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3BD5#FFFFFF#000000##FFFFFF
##9C3BD51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#166DD2
Tritanopia (blue-blind)
#945E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c3bd5;
/* rgb */ color: rgb(156, 59, 213);
/* oklch */ color: oklch(56.0% 0.227 309.7);
Tailwind
colors: {
  custom: {
    50: '#be7ae3',
    500: '#9c3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #9c3bd5;
$custom-light: #be7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3bd5",
  "rgb": {
    "r": 156,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 277.792,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.22679,
    "h": 309.7
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#9C3BD5
secondary
#ADD795
accent
#E8407E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9C3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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