#9D3CCE#9D3CCE

#9D3CCE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.7% C 0.219 H 311.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9D3CCE
RGBrgb(157, 60, 206)
HSLhsl(280, 60%, 52%)
HSVhsv(280, 71%, 81%)
CMYKcmyk(23.8%, 70.9%, 0%, 19.2%)
CIE-LABlab(45.44, 62.48, -57.90)
CIE-LCHlch(45.44, 85.18, 317.18°)
OKLaboklab(55.73% 0.1461 -0.1636)
OKLCHoklch(55.73% 0.219 311.8)
XYZxyz(26.6590, 14.8567, 59.8438)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CCE #6DCE3C
analogous
#543CCE #9D3CCE #CE3CB6
triadic
#9D3CCE #CE9D3C #3CCE9D
tetradic
#9D3CCE #CE543C #6DCE3C #3CB6CE
square
#9D3CCE #CE543C #6DCE3C #3CB6CE
split-complementary
#9D3CCE #B6CE3C #3CCE54
monochromatic
#561D73 #7B29A4 #9D3CCE #B66DDA #CE9EE7

Accessibility & contrast

On white

5.29
#9D3CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9D3CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CCE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CCE#FFFFFF#000000##FFFFFF
##9D3CCE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#296DCB
Tritanopia (blue-blind)
#975C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3cce;
/* rgb */ color: rgb(157, 60, 206);
/* oklch */ color: oklch(55.7% 0.219 311.8);
Tailwind
colors: {
  custom: {
    50: '#be7ade',
    500: '#9d3cce',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cce;
$custom-light: #be7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cce",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 279.863,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.21934,
    "h": 311.8
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#9D3CCE
secondary
#A8D393
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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