#9D3FBA#9D3FBA

#9D3FBA is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.7% C 0.197 H 317.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9D3FBA
RGBrgb(157, 63, 186)
HSLhsl(286, 49%, 49%)
HSVhsv(286, 66%, 73%)
CMYKcmyk(15.6%, 66.1%, 0%, 27.1%)
CIE-LABlab(44.62, 57.12, -47.60)
CIE-LCHlch(44.62, 74.36, 320.19°)
OKLaboklab(54.74% 0.1445 -0.1335)
OKLCHoklch(54.74% 0.197 317.3)
XYZxyz(24.5438, 14.2693, 47.9062)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FBA #5CBA3F
analogous
#603FBA #9D3FBA #BA3F9A
triadic
#9D3FBA #BA9D3F #3FBA9D
tetradic
#9D3FBA #BA603F #5CBA3F #3F9ABA
square
#9D3FBA #BA603F #5CBA3F #3F9ABA
split-complementary
#9D3FBA #9ABA3F #3FBA60
monochromatic
#50205F #76308C #9D3FBA #B56ACC #CC97DC

Accessibility & contrast

On white

5.45
#9D3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9D3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FBA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FBA#FFFFFF#000000##FFFFFF
##9D3FBA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BE
Deuteranopia (green-blind)
#426CB7
Tritanopia (blue-blind)
#9C5677
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3fba;
/* rgb */ color: rgb(157, 63, 186);
/* oklch */ color: oklch(54.7% 0.197 317.3);
Tailwind
colors: {
  custom: {
    50: '#bd7bcf',
    500: '#9d3fba',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fba;
$custom-light: #bd7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fba",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 285.854,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.19667,
    "h": 317.3
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#9D3FBA
secondary
#9BC88D
accent
#D94F6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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