#9D3CD7#9D3CD7

#9D3CD7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.4% C 0.228 H 309.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9D3CD7
RGBrgb(157, 60, 215)
HSLhsl(278, 66%, 54%)
HSVhsv(278, 72%, 84%)
CMYKcmyk(27%, 72.1%, 0%, 15.7%)
CIE-LABlab(46.05, 64.37, -62.08)
CIE-LCHlch(46.05, 89.43, 316.04°)
OKLaboklab(56.36% 0.1448 -0.1759)
OKLCHoklch(56.36% 0.228 309.5)
XYZxyz(27.7838, 15.3067, 65.7677)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CD7 #76D73C
analogous
#503CD7 #9D3CD7 #D73CC4
triadic
#9D3CD7 #D79D3C #3CD79D
tetradic
#9D3CD7 #D7503C #76D73C #3CC4D7
square
#9D3CD7 #D7503C #76D73C #3CC4D7
split-complementary
#9D3CD7 #C4D73C #3CD750
monochromatic
#591A7F #7D24B1 #9D3CD7 #B76FE1 #D0A2EC

Accessibility & contrast

On white

5.17
#9D3CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9D3CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CD7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CD7#FFFFFF#000000##FFFFFF
##9D3CD71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#166ED4
Tritanopia (blue-blind)
#956086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3cd7;
/* rgb */ color: rgb(157, 60, 215);
/* oklch */ color: oklch(56.4% 0.228 309.5);
Tailwind
colors: {
  custom: {
    50: '#bf7ae4',
    500: '#9d3cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cd7;
$custom-light: #bf7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cd7",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 277.548,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.22785,
    "h": 309.5
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D3CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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