#9D3FD2#9D3FD2

#9D3FD2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.3% C 0.220 H 310.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9D3FD2
RGBrgb(157, 63, 210)
HSLhsl(278, 62%, 54%)
HSVhsv(278, 70%, 82%)
CMYKcmyk(25.2%, 70%, 0%, 17.6%)
CIE-LABlab(46.15, 62.08, -59.06)
CIE-LCHlch(46.15, 85.68, 316.43°)
OKLaboklab(56.32% 0.1426 -0.1671)
OKLCHoklch(56.32% 0.22 310.5)
XYZxyz(27.3127, 15.3769, 62.4895)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FD2 #74D23F
analogous
#533FD2 #9D3FD2 #D23FBD
triadic
#9D3FD2 #D29D3F #3FD29D
tetradic
#9D3FD2 #D2533F #74D23F #3FBDD2
square
#9D3FD2 #D2533F #74D23F #3FBDD2
split-complementary
#9D3FD2 #BDD23F #3FD253
monochromatic
#581D7A #7C28AC #9D3FD2 #B671DE #D0A2E9

Accessibility & contrast

On white

5.15
#9D3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9D3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FD2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FD2#FFFFFF#000000##FFFFFF
##9D3FD21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#266FCF
Tritanopia (blue-blind)
#965F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3fd2;
/* rgb */ color: rgb(157, 63, 210);
/* oklch */ color: oklch(56.3% 0.220 310.5);
Tailwind
colors: {
  custom: {
    50: '#be7ce1',
    500: '#9d3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fd2;
$custom-light: #be7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fd2",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 278.367,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.21961,
    "h": 310.5
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#9D3FD2
secondary
#AED697
accent
#E5437D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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