#9D3FCD#9D3FCD

#9D3FCD is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.215 H 311.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9D3FCD
RGBrgb(157, 63, 205)
HSLhsl(280, 59%, 53%)
HSVhsv(280, 69%, 80%)
CMYKcmyk(23.4%, 69.3%, 0%, 19.6%)
CIE-LABlab(45.81, 61.02, -56.72)
CIE-LCHlch(45.81, 83.31, 317.09°)
OKLaboklab(55.98% 0.1431 -0.1602)
OKLCHoklch(55.98% 0.215 311.8)
XYZxyz(26.6995, 15.1316, 59.2600)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FCD #6FCD3F
analogous
#563FCD #9D3FCD #CD3FB6
triadic
#9D3FCD #CD9D3F #3FCD9D
tetradic
#9D3FCD #CD563F #6FCD3F #3FB6CD
square
#9D3FCD #CD563F #6FCD3F #3FB6CD
split-complementary
#9D3FCD #B6CD3F #3FCD56
monochromatic
#571E74 #7B2BA4 #9D3FCD #B670DA #CFA0E6

Accessibility & contrast

On white

5.22
#9D3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9D3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FCD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FCD#FFFFFF#000000##FFFFFF
##9D3FCD1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#2E6ECA
Tritanopia (blue-blind)
#975D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3fcd;
/* rgb */ color: rgb(157, 63, 205);
/* oklch */ color: oklch(56.0% 0.215 311.8);
Tailwind
colors: {
  custom: {
    50: '#be7cdd',
    500: '#9d3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fcd;
$custom-light: #be7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fcd",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 279.718,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.2148,
    "h": 311.8
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#9D3FCD
secondary
#AAD395
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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