#9D3FD7#9D3FD7

#9D3FD7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.7% C 0.224 H 309.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9D3FD7
RGBrgb(157, 63, 215)
HSLhsl(277, 66%, 55%)
HSVhsv(277, 71%, 84%)
CMYKcmyk(27%, 70.7%, 0%, 15.7%)
CIE-LABlab(46.49, 63.14, -61.38)
CIE-LCHlch(46.49, 88.06, 315.81°)
OKLaboklab(56.67% 0.1419 -0.1739)
OKLCHoklch(56.67% 0.224 309.2)
XYZxyz(27.9454, 15.6299, 65.8215)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FD7 #79D73F
analogous
#513FD7 #9D3FD7 #D73FC5
triadic
#9D3FD7 #D79D3F #3FD79D
tetradic
#9D3FD7 #D7513F #79D73F #3FC5D7
square
#9D3FD7 #D7513F #79D73F #3FC5D7
split-complementary
#9D3FD7 #C5D73F #3FD751
monochromatic
#5A1B81 #7D25B3 #9D3FD7 #B772E2 #D1A4EC

Accessibility & contrast

On white

5.09
#9D3FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9D3FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FD7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FD7#FFFFFF#000000##FFFFFF
##9D3FD71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#1C6FD4
Tritanopia (blue-blind)
#946187
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d3fd7;
/* rgb */ color: rgb(157, 63, 215);
/* oklch */ color: oklch(56.7% 0.224 309.2);
Tailwind
colors: {
  custom: {
    50: '#bf7ce4',
    500: '#9d3fd7',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fd7;
$custom-light: #bf7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fd7",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 277.105,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56668,
    "c": 0.22442,
    "h": 309.2
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#9D3FD7
secondary
#B1D999
accent
#E83F80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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