#9D3DD3#9D3DD3

#9D3DD3 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.223 H 310.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9D3DD3
RGBrgb(157, 61, 211)
HSLhsl(278, 63%, 53%)
HSVhsv(278, 71%, 83%)
CMYKcmyk(25.6%, 71.1%, 0%, 17.3%)
CIE-LABlab(45.92, 63.12, -60.00)
CIE-LCHlch(45.92, 87.08, 316.45°)
OKLaboklab(56.18% 0.1444 -0.1698)
OKLCHoklch(56.18% 0.223 310.4)
XYZxyz(27.3290, 15.2093, 63.1114)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DD3 #73D33D
analogous
#523DD3 #9D3DD3 #D33DBE
triadic
#9D3DD3 #D39D3D #3DD39D
tetradic
#9D3DD3 #D3523D #73D33D #3DBED3
square
#9D3DD3 #D3523D #73D33D #3DBED3
split-complementary
#9D3DD3 #BED33D #3DD352
monochromatic
#581C7A #7C27AC #9D3DD3 #B66FDE #CFA1EA

Accessibility & contrast

On white

5.20
#9D3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9D3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DD3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DD3#FFFFFF#000000##FFFFFF
##9D3DD31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#216ED0
Tritanopia (blue-blind)
#965E84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3dd3;
/* rgb */ color: rgb(157, 61, 211);
/* oklch */ color: oklch(56.2% 0.223 310.4);
Tailwind
colors: {
  custom: {
    50: '#bf7be1',
    500: '#9d3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dd3;
$custom-light: #bf7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dd3",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 278.4,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.22292,
    "h": 310.4
  },
  "luminance": 0.15209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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