#9D3DD4#9D3DD4

#9D3DD4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.2% C 0.224 H 310.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9D3DD4
RGBrgb(157, 61, 212)
HSLhsl(278, 64%, 54%)
HSVhsv(278, 71%, 83%)
CMYKcmyk(25.9%, 71.2%, 0%, 16.9%)
CIE-LABlab(45.99, 63.33, -60.46)
CIE-LCHlch(45.99, 87.56, 316.33°)
OKLaboklab(56.25% 0.1443 -0.1712)
OKLCHoklch(56.25% 0.224 310.1)
XYZxyz(27.4547, 15.2596, 63.7737)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DD4 #74D43D
analogous
#513DD4 #9D3DD4 #D43DBF
triadic
#9D3DD4 #D49D3D #3DD49D
tetradic
#9D3DD4 #D4513D #74D43D #3DBFD4
square
#9D3DD4 #D4513D #74D43D #3DBFD4
split-complementary
#9D3DD4 #BFD43D #3DD451
monochromatic
#581B7B #7C26AD #9D3DD4 #B66FDF #D0A1EA

Accessibility & contrast

On white

5.18
#9D3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9D3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DD4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DD4#FFFFFF#000000##FFFFFF
##9D3DD41.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#1F6ED1
Tritanopia (blue-blind)
#955F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3dd4;
/* rgb */ color: rgb(157, 61, 212);
/* oklch */ color: oklch(56.2% 0.224 310.1);
Tailwind
colors: {
  custom: {
    50: '#bf7be2',
    500: '#9d3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dd4;
$custom-light: #bf7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dd4",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 278.146,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56249,
    "c": 0.22387,
    "h": 310.1
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#9D3DD4
secondary
#AED796
accent
#E7417D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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