#9D3DE4#9D3DE4

#9D3DE4 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.4% C 0.239 H 306.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9D3DE4
RGBrgb(157, 61, 228)
HSLhsl(274, 76%, 57%)
HSVhsv(274, 73%, 89%)
CMYKcmyk(31.1%, 73.2%, 0%, 10.6%)
CIE-LABlab(47.11, 66.77, -67.76)
CIE-LCHlch(47.11, 95.13, 314.58°)
OKLaboklab(57.4% 0.1417 -0.1926)
OKLCHoklch(57.4% 0.239 306.3)
XYZxyz(29.5739, 16.1073, 74.9348)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DE4 #84E43D
analogous
#4A3DE4 #9D3DE4 #E43DD8
triadic
#9D3DE4 #E49D3D #3DE49D
tetradic
#9D3DE4 #E44A3D #84E43D #3DD8E4
square
#9D3DE4 #E44A3D #84E43D #3DD8E4
split-complementary
#9D3DE4 #D8E43D #3DE44A
monochromatic
#5D1492 #7F1CC8 #9D3DE4 #B873EB #D3A8F3

Accessibility & contrast

On white

4.97
#9D3DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9D3DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DE4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DE4#FFFFFF#000000##FFFFFF
##9D3DE41.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#91668E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d3de4;
/* rgb */ color: rgb(157, 61, 228);
/* oklch */ color: oklch(57.4% 0.239 306.3);
Tailwind
colors: {
  custom: {
    50: '#c07bed',
    500: '#9d3de4',
    950: '#000000',
  },
}
SCSS
$custom: #9d3de4;
$custom-light: #c07bed;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3de4",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 228
  },
  "hsl": {
    "h": 274.491,
    "s": 75.566,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.23911,
    "h": 306.3
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#9D3DE4
secondary
#B9E19C
accent
#F23686
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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