#9D3BD4#9D3BD4

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

Color values

HEX#9D3BD4
RGBrgb(157, 59, 212)
HSLhsl(278, 64%, 53%)
HSVhsv(278, 72%, 83%)
CMYKcmyk(25.9%, 72.2%, 0%, 16.9%)
CIE-LABlab(45.70, 64.14, -60.92)
CIE-LCHlch(45.70, 88.46, 316.47°)
OKLaboklab(56.05% 0.1462 -0.1725)
OKLCHoklch(56.05% 0.226 310.3)
XYZxyz(27.3499, 15.0501, 63.7388)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BD4 #72D43B
analogous
#503BD4 #9D3BD4 #D43BBF
triadic
#9D3BD4 #D49D3B #3BD49D
tetradic
#9D3BD4 #D4503B #72D43B #3BBFD4
square
#9D3BD4 #D4503B #72D43B #3BBFD4
split-complementary
#9D3BD4 #BFD43B #3BD450
monochromatic
#581B7A #7C26AC #9D3BD4 #B66DDF #CF9FEA

Accessibility & contrast

On white

5.24
#9D3BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9D3BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BD4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BD4#FFFFFF#000000##FFFFFF
##9D3BD41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#1C6ED1
Tritanopia (blue-blind)
#955E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3bd4;
/* rgb */ color: rgb(157, 59, 212);
/* oklch */ color: oklch(56.0% 0.226 310.3);
Tailwind
colors: {
  custom: {
    50: '#bf7ae2',
    500: '#9d3bd4',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bd4;
$custom-light: #bf7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bd4",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 278.431,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.22614,
    "h": 310.3
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#9D3BD4
secondary
#ACD694
accent
#E7417D
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9D3BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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