#9A3ECA#9A3ECA

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

Color values

HEX#9A3ECA
RGBrgb(154, 62, 202)
HSLhsl(279, 57%, 52%)
HSVhsv(279, 69%, 79%)
CMYKcmyk(23.8%, 69.3%, 0%, 20.8%)
CIE-LABlab(45.05, 60.19, -56.23)
CIE-LCHlch(45.05, 82.37, 316.95°)
OKLaboklab(55.29% 0.1407 -0.1588)
OKLCHoklch(55.29% 0.212 311.5)
XYZxyz(25.7077, 14.5802, 57.3257)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ECA #6ECA3E
analogous
#543ECA #9A3ECA #CA3EB4
triadic
#9A3ECA #CA9A3E #3ECA9A
tetradic
#9A3ECA #CA543E #6ECA3E #3EB4CA
square
#9A3ECA #CA543E #6ECA3E #3EB4CA
split-complementary
#9A3ECA #B4CA3E #3ECA54
monochromatic
#531F6F #782C9F #9A3ECA #B36ED7 #CC9EE4

Accessibility & contrast

On white

5.36
#9A3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9A3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ECA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ECA#FFFFFF#000000##FFFFFF
##9A3ECA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#945C80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3eca;
/* rgb */ color: rgb(154, 62, 202);
/* oklch */ color: oklch(55.3% 0.212 311.5);
Tailwind
colors: {
  custom: {
    50: '#bc7bdb',
    500: '#9a3eca',
    950: '#000000',
  },
}
SCSS
$custom: #9a3eca;
$custom-light: #bc7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3eca",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 279.429,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.21217,
    "h": 311.5
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#9A3ECA
secondary
#A8D193
accent
#E0487C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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