#9D3FD6#9D3FD6

#9D3FD6 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.6% C 0.223 H 309.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9D3FD6
RGBrgb(157, 63, 214)
HSLhsl(277, 65%, 54%)
HSVhsv(277, 71%, 84%)
CMYKcmyk(26.6%, 70.6%, 0%, 16.1%)
CIE-LABlab(46.42, 62.93, -60.91)
CIE-LCHlch(46.42, 87.58, 315.93°)
OKLaboklab(56.6% 0.142 -0.1725)
OKLCHoklch(56.6% 0.223 309.5)
XYZxyz(27.8173, 15.5787, 65.1469)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FD6 #78D63F
analogous
#523FD6 #9D3FD6 #D63FC4
triadic
#9D3FD6 #D69D3F #3FD69D
tetradic
#9D3FD6 #D6523F #78D63F #3FC4D6
square
#9D3FD6 #D6523F #78D63F #3FC4D6
split-complementary
#9D3FD6 #C4D63F #3FD652
monochromatic
#5A1B7F #7D26B2 #9D3FD6 #B771E1 #D0A4EC

Accessibility & contrast

On white

5.10
#9D3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9D3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FD6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FD6#FFFFFF#000000##FFFFFF
##9D3FD61.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#1E6FD3
Tritanopia (blue-blind)
#956186
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d3fd6;
/* rgb */ color: rgb(157, 63, 214);
/* oklch */ color: oklch(56.6% 0.223 309.5);
Tailwind
colors: {
  custom: {
    50: '#bf7ce3',
    500: '#9d3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fd6;
$custom-light: #bf7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fd6",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 277.351,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.22346,
    "h": 309.5
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#9D3FD6
secondary
#B1D898
accent
#E8407F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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