#9D3DCF#9D3DCF

#9D3DCF is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.219 H 311.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9D3DCF
RGBrgb(157, 61, 207)
HSLhsl(279, 60%, 53%)
HSVhsv(279, 71%, 81%)
CMYKcmyk(24.2%, 70.5%, 0%, 18.8%)
CIE-LABlab(45.65, 62.28, -58.13)
CIE-LCHlch(45.65, 85.19, 316.97°)
OKLaboklab(55.9% 0.1449 -0.1643)
OKLCHoklch(55.9% 0.219 311.4)
XYZxyz(26.8337, 15.0113, 60.5033)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DCF #6FCF3D
analogous
#543DCF #9D3DCF #CF3DB8
triadic
#9D3DCF #CF9D3D #3DCF9D
tetradic
#9D3DCF #CF543D #6FCF3D #3DB8CF
square
#9D3DCF #CF543D #6FCF3D #3DB8CF
split-complementary
#9D3DCF #B8CF3D #3DCF54
monochromatic
#571D75 #7B29A6 #9D3DCF #B66EDB #CF9FE7

Accessibility & contrast

On white

5.25
#9D3DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9D3DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DCF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DCF#FFFFFF#000000##FFFFFF
##9D3DCF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#296ECC
Tritanopia (blue-blind)
#975D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3dcf;
/* rgb */ color: rgb(157, 61, 207);
/* oklch */ color: oklch(55.9% 0.219 311.4);
Tailwind
colors: {
  custom: {
    50: '#be7bde',
    500: '#9d3dcf',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dcf;
$custom-light: #be7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dcf",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 279.452,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.21911,
    "h": 311.4
  },
  "luminance": 0.15011
}

Semantic roles & 50–950 ramp

primary
#9D3DCF
secondary
#AAD494
accent
#E3447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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