#9A3DBB#9A3DBB

#9A3DBB is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.199 H 315.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9A3DBB
RGBrgb(154, 61, 187)
HSLhsl(284, 51%, 49%)
HSVhsv(284, 67%, 73%)
CMYKcmyk(17.6%, 67.4%, 0%, 26.7%)
CIE-LABlab(43.94, 57.51, -49.30)
CIE-LCHlch(43.94, 75.75, 319.40°)
OKLaboklab(54.18% 0.143 -0.1385)
OKLCHoklch(54.18% 0.199 315.9)
XYZxyz(23.9634, 13.7963, 48.4047)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DBB #5EBB3D
analogous
#5B3DBB #9A3DBB #BB3D9D
triadic
#9A3DBB #BB9A3D #3DBB9A
tetradic
#9A3DBB #BB5B3D #5EBB3D #3D9DBB
square
#9A3DBB #BB5B3D #5EBB3D #3D9DBB
split-complementary
#9A3DBB #9DBB3D #3DBB5B
monochromatic
#4E1F5F #742E8D #9A3DBB #B368CE #CA96DD

Accessibility & contrast

On white

5.59
#9A3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9A3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DBB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DBB#FFFFFF#000000##FFFFFF
##9A3DBB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#985577
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a3dbb;
/* rgb */ color: rgb(154, 61, 187);
/* oklch */ color: oklch(54.2% 0.199 315.9);
Tailwind
colors: {
  custom: {
    50: '#bb7ad0',
    500: '#9a3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dbb;
$custom-light: #bb7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dbb",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 284.286,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.19905,
    "h": 315.9
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#9A3DBB
secondary
#9BC88C
accent
#DA4E72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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