#9D3DD7#9D3DD7

#9D3DD7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.5% C 0.227 H 309.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9D3DD7
RGBrgb(157, 61, 215)
HSLhsl(277, 66%, 54%)
HSVhsv(277, 72%, 84%)
CMYKcmyk(27%, 71.6%, 0%, 15.7%)
CIE-LABlab(46.19, 63.97, -61.85)
CIE-LCHlch(46.19, 88.98, 315.97°)
OKLaboklab(56.46% 0.1439 -0.1752)
OKLCHoklch(56.46% 0.227 309.4)
XYZxyz(27.8367, 15.4124, 65.7853)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DD7 #77D73D
analogous
#503DD7 #9D3DD7 #D73DC4
triadic
#9D3DD7 #D79D3D #3DD79D
tetradic
#9D3DD7 #D7503D #77D73D #3DC4D7
square
#9D3DD7 #D7503D #77D73D #3DC4D7
split-complementary
#9D3DD7 #C4D73D #3DD750
monochromatic
#591A7F #7D25B2 #9D3DD7 #B770E1 #D0A2EC

Accessibility & contrast

On white

5.14
#9D3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9D3DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DD7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DD7#FFFFFF#000000##FFFFFF
##9D3DD71.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#186FD4
Tritanopia (blue-blind)
#946087
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3dd7;
/* rgb */ color: rgb(157, 61, 215);
/* oklch */ color: oklch(56.5% 0.227 309.4);
Tailwind
colors: {
  custom: {
    50: '#bf7be4',
    500: '#9d3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dd7;
$custom-light: #bf7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dd7",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 277.403,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.22672,
    "h": 309.4
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#9D3DD7
secondary
#B0D997
accent
#E93F7F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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