#9A3EC3#9A3EC3

#9A3EC3 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.8% C 0.205 H 313.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9A3EC3
RGBrgb(154, 62, 195)
HSLhsl(282, 53%, 50%)
HSVhsv(282, 68%, 76%)
CMYKcmyk(21%, 68.2%, 0%, 23.5%)
CIE-LABlab(44.60, 58.72, -52.91)
CIE-LCHlch(44.60, 79.04, 317.98°)
OKLaboklab(54.81% 0.1413 -0.1491)
OKLCHoklch(54.81% 0.205 313.5)
XYZxyz(24.8977, 14.2562, 53.0594)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3EC3 #67C33E
analogous
#583EC3 #9A3EC3 #C33EA9
triadic
#9A3EC3 #C39A3E #3EC39A
tetradic
#9A3EC3 #C3583E #67C33E #3EA9C3
square
#9A3EC3 #C3583E #67C33E #3EA9C3
split-complementary
#9A3EC3 #A9C33E #3EC358
monochromatic
#512067 #762E95 #9A3EC3 #B26DD2 #CB9BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A3EC3#FFFFFF#000000##FFFFFF
##9A3EC31.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)
#0065C7
Deuteranopia (green-blind)
#356CC0
Tritanopia (blue-blind)
#96597C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3ec3;
/* rgb */ color: rgb(154, 62, 195);
/* oklch */ color: oklch(54.8% 0.205 313.5);
Tailwind
colors: {
  custom: {
    50: '#bc7ad6',
    500: '#9a3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ec3;
$custom-light: #bc7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ec3",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 281.504,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54814,
    "c": 0.20542,
    "h": 313.5
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

primary
#9A3EC3
secondary
#A3CC91
accent
#DC4C78
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9A3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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