#9D3DD6#9D3DD6

#9D3DD6 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.226 H 309.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9D3DD6
RGBrgb(157, 61, 214)
HSLhsl(278, 65%, 54%)
HSVhsv(278, 71%, 84%)
CMYKcmyk(26.6%, 71.5%, 0%, 16.1%)
CIE-LABlab(46.13, 63.75, -61.39)
CIE-LCHlch(46.13, 88.50, 316.08°)
OKLaboklab(56.39% 0.144 -0.1739)
OKLCHoklch(56.39% 0.226 309.6)
XYZxyz(27.7086, 15.3612, 65.1106)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DD6 #76D63D
analogous
#513DD6 #9D3DD6 #D63DC3
triadic
#9D3DD6 #D69D3D #3DD69D
tetradic
#9D3DD6 #D6513D #76D63D #3DC3D6
square
#9D3DD6 #D6513D #76D63D #3DC3D6
split-complementary
#9D3DD6 #C3D63D #3DD651
monochromatic
#591B7E #7D25B1 #9D3DD6 #B770E1 #D0A2EB

Accessibility & contrast

On white

5.16
#9D3DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9D3DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DD6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DD6#FFFFFF#000000##FFFFFF
##9D3DD61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#1B6FD3
Tritanopia (blue-blind)
#956086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3dd6;
/* rgb */ color: rgb(157, 61, 214);
/* oklch */ color: oklch(56.4% 0.226 309.6);
Tailwind
colors: {
  custom: {
    50: '#bf7be3',
    500: '#9d3dd6',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dd6;
$custom-light: #bf7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dd6",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 277.647,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.22577,
    "h": 309.6
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#9D3DD6
secondary
#AFD897
accent
#E8407E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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