#9A3DCA#9A3DCA

#9A3DCA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.2% C 0.213 H 311.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9A3DCA
RGBrgb(154, 61, 202)
HSLhsl(280, 57%, 52%)
HSVhsv(280, 70%, 79%)
CMYKcmyk(23.8%, 69.8%, 0%, 20.8%)
CIE-LABlab(44.90, 60.62, -56.47)
CIE-LCHlch(44.90, 82.85, 317.03°)
OKLaboklab(55.18% 0.1417 -0.1596)
OKLCHoklch(55.18% 0.213 311.6)
XYZxyz(25.6539, 14.4724, 57.3077)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DCA #6DCA3D
analogous
#543DCA #9A3DCA #CA3DB4
triadic
#9A3DCA #CA9A3D #3DCA9A
tetradic
#9A3DCA #CA543D #6DCA3D #3DB4CA
square
#9A3DCA #CA543D #6DCA3D #3DB4CA
split-complementary
#9A3DCA #B4CA3D #3DCA54
monochromatic
#531E6E #772B9F #9A3DCA #B36DD7 #CC9DE4

Accessibility & contrast

On white

5.39
#9A3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9A3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DCA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DCA#FFFFFF#000000##FFFFFF
##9A3DCA1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#945B7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a3dca;
/* rgb */ color: rgb(154, 61, 202);
/* oklch */ color: oklch(55.2% 0.213 311.6);
Tailwind
colors: {
  custom: {
    50: '#bc7adb',
    500: '#9a3dca',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dca;
$custom-light: #bc7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dca",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 279.574,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.21338,
    "h": 311.6
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#9A3DCA
secondary
#A8D092
accent
#E0477C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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