#9A3CBF#9A3CBF

#9A3CBF is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.3% C 0.204 H 314.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9A3CBF
RGBrgb(154, 60, 191)
HSLhsl(283, 52%, 49%)
HSVhsv(283, 69%, 75%)
CMYKcmyk(19.4%, 68.6%, 0%, 25.1%)
CIE-LABlab(44.04, 58.75, -51.48)
CIE-LCHlch(44.04, 78.11, 318.78°)
OKLaboklab(54.33% 0.1438 -0.1449)
OKLCHoklch(54.33% 0.204 314.8)
XYZxyz(24.3447, 13.8642, 50.6738)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CBF #61BF3C
analogous
#583CBF #9A3CBF #BF3CA3
triadic
#9A3CBF #BF9A3C #3CBF9A
tetradic
#9A3CBF #BF583C #61BF3C #3CA3BF
square
#9A3CBF #BF583C #61BF3C #3CA3BF
split-complementary
#9A3CBF #A3BF3C #3CBF58
monochromatic
#4F1F62 #742D90 #9A3CBF #B368D0 #CA97DE

Accessibility & contrast

On white

5.57
#9A3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9A3CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3CBF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CBF#FFFFFF#000000##FFFFFF
##9A3CBF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#376BBC
Tritanopia (blue-blind)
#975679
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a3cbf;
/* rgb */ color: rgb(154, 60, 191);
/* oklch */ color: oklch(54.3% 0.204 314.8);
Tailwind
colors: {
  custom: {
    50: '#bc79d3',
    500: '#9a3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #9a3cbf;
$custom-light: #bc79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3cbf",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 283.053,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.20412,
    "h": 314.8
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#9A3CBF
secondary
#9ECA8D
accent
#DC4C75
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9A3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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