#9A3BCA#9A3BCA

#9A3BCA is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.216 H 311.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9A3BCA
RGBrgb(154, 59, 202)
HSLhsl(280, 57%, 51%)
HSVhsv(280, 71%, 79%)
CMYKcmyk(23.8%, 70.8%, 0%, 20.8%)
CIE-LABlab(44.61, 61.45, -56.95)
CIE-LCHlch(44.61, 83.78, 317.18°)
OKLaboklab(54.97% 0.1437 -0.1609)
OKLCHoklch(54.97% 0.216 311.8)
XYZxyz(25.5491, 14.2629, 57.2728)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BCA #6BCA3B
analogous
#523BCA #9A3BCA #CA3BB2
triadic
#9A3BCA #CA9A3B #3BCA9A
tetradic
#9A3BCA #CA523B #6BCA3B #3BB2CA
square
#9A3BCA #CA523B #6BCA3B #3BB2CA
split-complementary
#9A3BCA #B2CA3B #3BCA52
monochromatic
#521E6D #772B9D #9A3BCA #B36BD7 #CC9BE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A3BCA#FFFFFF#000000##FFFFFF
##9A3BCA1.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)
#0065CE
Deuteranopia (green-blind)
#296BC7
Tritanopia (blue-blind)
#945A7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3bca;
/* rgb */ color: rgb(154, 59, 202);
/* oklch */ color: oklch(55.0% 0.216 311.8);
Tailwind
colors: {
  custom: {
    50: '#bc79db',
    500: '#9a3bca',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bca;
$custom-light: #bc79db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bca",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 279.86,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.21577,
    "h": 311.8
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#9A3BCA
secondary
#A6D091
accent
#E1477B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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