#9A3FB2#9A3FB2

#9A3FB2 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.188 H 318.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9A3FB2
RGBrgb(154, 63, 178)
HSLhsl(287, 48%, 47%)
HSVhsv(287, 65%, 70%)
CMYKcmyk(13.5%, 64.6%, 0%, 30.2%)
CIE-LABlab(43.71, 54.82, -44.38)
CIE-LCHlch(43.71, 70.53, 321.01°)
OKLaboklab(53.84% 0.141 -0.1241)
OKLCHoklch(53.84% 0.188 318.6)
XYZxyz(23.1387, 13.6404, 43.5249)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FB2 #57B23F
analogous
#603FB2 #9A3FB2 #B23F91
triadic
#9A3FB2 #B29A3F #3FB29A
tetradic
#9A3FB2 #B2603F #57B23F #3F91B2
square
#9A3FB2 #B2603F #57B23F #3F91B2
split-complementary
#9A3FB2 #91B23F #3FB260
monochromatic
#4C1F58 #732F85 #9A3FB2 #B466C9 #CA93D9

Accessibility & contrast

On white

5.63
#9A3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9A3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FB2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FB2#FFFFFF#000000##FFFFFF
##9A3FB21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#9A5373
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3fb2;
/* rgb */ color: rgb(154, 63, 178);
/* oklch */ color: oklch(53.8% 0.188 318.6);
Tailwind
colors: {
  custom: {
    50: '#bb7ac9',
    500: '#9a3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fb2;
$custom-light: #bb7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fb2",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 287.478,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.18782,
    "h": 318.6
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#9A3FB2
secondary
#95C489
accent
#D7506D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9A3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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