#9D3FDA#9D3FDA

#9D3FDA is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.9% C 0.227 H 308.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9D3FDA
RGBrgb(157, 63, 218)
HSLhsl(276, 68%, 55%)
HSVhsv(276, 71%, 85%)
CMYKcmyk(28%, 71.1%, 0%, 14.5%)
CIE-LABlab(46.69, 63.79, -62.76)
CIE-LCHlch(46.69, 89.48, 315.47°)
OKLaboklab(56.88% 0.1415 -0.1779)
OKLCHoklch(56.88% 0.227 308.5)
XYZxyz(28.3344, 15.7855, 67.8703)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FDA #7CDA3F
analogous
#4F3FDA #9D3FDA #DA3FCA
triadic
#9D3FDA #DA9D3F #3FDA9D
tetradic
#9D3FDA #DA4F3F #7CDA3F #3FCADA
square
#9D3FDA #DA4F3F #7CDA3F #3FCADA
split-complementary
#9D3FDA #CADA3F #3FDA4F
monochromatic
#5B1A85 #7E24B8 #9D3FDA #B772E4 #D1A6EE

Accessibility & contrast

On white

5.05
#9D3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9D3FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FDA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FDA#FFFFFF#000000##FFFFFF
##9D3FDA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#1470D7
Tritanopia (blue-blind)
#946289
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d3fda;
/* rgb */ color: rgb(157, 63, 218);
/* oklch */ color: oklch(56.9% 0.227 308.5);
Tailwind
colors: {
  custom: {
    50: '#bf7ce6',
    500: '#9d3fda',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fda;
$custom-light: #bf7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fda",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 276.387,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.22732,
    "h": 308.5
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#9D3FDA
secondary
#B3DB9A
accent
#EB3D81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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