#9A3CCD#9A3CCD

#9A3CCD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.217 H 310.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9A3CCD
RGBrgb(154, 60, 205)
HSLhsl(279, 59%, 52%)
HSVhsv(279, 71%, 80%)
CMYKcmyk(24.9%, 70.7%, 0%, 19.6%)
CIE-LABlab(44.96, 61.67, -58.12)
CIE-LCHlch(44.96, 84.74, 316.70°)
OKLaboklab(55.28% 0.1423 -0.1644)
OKLCHoklch(55.28% 0.217 310.9)
XYZxyz(25.9596, 14.5101, 59.1790)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CCD #6FCD3C
analogous
#523CCD #9A3CCD #CD3CB7
triadic
#9A3CCD #CD9A3C #3CCD9A
tetradic
#9A3CCD #CD523C #6FCD3C #3CB7CD
square
#9A3CCD #CD523C #6FCD3C #3CB7CD
split-complementary
#9A3CCD #B7CD3C #3CCD52
monochromatic
#541D71 #782AA2 #9A3CCD #B36DD9 #CC9DE6

Accessibility & contrast

On white

5.38
#9A3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9A3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3CCD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CCD#FFFFFF#000000##FFFFFF
##9A3CCD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#935C81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a3ccd;
/* rgb */ color: rgb(154, 60, 205);
/* oklch */ color: oklch(55.3% 0.217 310.9);
Tailwind
colors: {
  custom: {
    50: '#bc7add',
    500: '#9a3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ccd;
$custom-light: #bc7add;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ccd",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 278.897,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.21745,
    "h": 310.9
  },
  "luminance": 0.1451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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