#9D3DD2#9D3DD2

#9D3DD2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.222 H 310.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9D3DD2
RGBrgb(157, 61, 210)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(25.2%, 71%, 0%, 17.6%)
CIE-LABlab(45.85, 62.91, -59.53)
CIE-LCHlch(45.85, 86.61, 316.58°)
OKLaboklab(56.11% 0.1446 -0.1684)
OKLCHoklch(56.11% 0.222 310.6)
XYZxyz(27.2040, 15.1594, 62.4532)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DD2 #72D23D
analogous
#523DD2 #9D3DD2 #D23DBC
triadic
#9D3DD2 #D29D3D #3DD29D
tetradic
#9D3DD2 #D2523D #72D23D #3DBCD2
square
#9D3DD2 #D2523D #72D23D #3DBCD2
split-complementary
#9D3DD2 #BCD23D #3DD252
monochromatic
#581C79 #7C28AA #9D3DD2 #B66FDE #CFA0E9

Accessibility & contrast

On white

5.21
#9D3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9D3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DD2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DD2#FFFFFF#000000##FFFFFF
##9D3DD21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#236ECF
Tritanopia (blue-blind)
#965E84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3dd2;
/* rgb */ color: rgb(157, 61, 210);
/* oklch */ color: oklch(56.1% 0.222 310.6);
Tailwind
colors: {
  custom: {
    50: '#bf7be1',
    500: '#9d3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dd2;
$custom-light: #bf7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dd2",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 278.658,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.22196,
    "h": 310.6
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#9D3DD2
secondary
#ACD695
accent
#E5427C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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