#9D3FD9#9D3FD9

#9D3FD9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.8% C 0.226 H 308.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9D3FD9
RGBrgb(157, 63, 217)
HSLhsl(277, 67%, 55%)
HSVhsv(277, 71%, 85%)
CMYKcmyk(27.6%, 71%, 0%, 14.9%)
CIE-LABlab(46.62, 63.57, -62.30)
CIE-LCHlch(46.62, 89.01, 315.58°)
OKLaboklab(56.81% 0.1416 -0.1766)
OKLCHoklch(56.81% 0.226 308.7)
XYZxyz(28.2040, 15.7334, 67.1832)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FD9 #7BD93F
analogous
#503FD9 #9D3FD9 #D93FC8
triadic
#9D3FD9 #D99D3F #3FD99D
tetradic
#9D3FD9 #D9503F #7BD93F #3FC8D9
square
#9D3FD9 #D9503F #7BD93F #3FC8D9
split-complementary
#9D3FD9 #C8D93F #3FD950
monochromatic
#5A1A84 #7E24B7 #9D3FD9 #B772E3 #D1A5ED

Accessibility & contrast

On white

5.06
#9D3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9D3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FD9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FD9#FFFFFF#000000##FFFFFF
##9D3FD91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#1770D6
Tritanopia (blue-blind)
#946288
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d3fd9;
/* rgb */ color: rgb(157, 63, 217);
/* oklch */ color: oklch(56.8% 0.226 308.7);
Tailwind
colors: {
  custom: {
    50: '#bf7ce6',
    500: '#9d3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fd9;
$custom-light: #bf7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fd9",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 276.623,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.22636,
    "h": 308.7
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#9D3FD9
secondary
#B3DA9A
accent
#EA3E81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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