#9A3DCC#9A3DCC

#9A3DCC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.215 H 311.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9A3DCC
RGBrgb(154, 61, 204)
HSLhsl(279, 58%, 52%)
HSVhsv(279, 70%, 80%)
CMYKcmyk(24.5%, 70.1%, 0%, 20%)
CIE-LABlab(45.04, 61.04, -57.41)
CIE-LCHlch(45.04, 83.80, 316.75°)
OKLaboklab(55.32% 0.1415 -0.1623)
OKLCHoklch(55.32% 0.215 311.1)
XYZxyz(25.8922, 14.5678, 58.5629)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DCC #6FCC3D
analogous
#533DCC #9A3DCC #CC3DB6
triadic
#9A3DCC #CC9A3D #3DCC9A
tetradic
#9A3DCC #CC533D #6FCC3D #3DB6CC
square
#9A3DCC #CC533D #6FCC3D #3DB6CC
split-complementary
#9A3DCC #B6CC3D #3DCC53
monochromatic
#541E71 #782AA1 #9A3DCC #B36DD9 #CC9EE5

Accessibility & contrast

On white

5.37
#9A3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9A3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DCC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DCC#FFFFFF#000000##FFFFFF
##9A3DCC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#945C80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3dcc;
/* rgb */ color: rgb(154, 61, 204);
/* oklch */ color: oklch(55.3% 0.215 311.1);
Tailwind
colors: {
  custom: {
    50: '#bc7adc',
    500: '#9a3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dcc;
$custom-light: #bc7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dcc",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 279.021,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.2153,
    "h": 311.1
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#9A3DCC
secondary
#A9D293
accent
#E2467D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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