#9A3ECC#9A3ECC

#9A3ECC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.214 H 311.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9A3ECC
RGBrgb(154, 62, 204)
HSLhsl(279, 58%, 52%)
HSVhsv(279, 70%, 80%)
CMYKcmyk(24.5%, 69.6%, 0%, 20%)
CIE-LABlab(45.19, 60.62, -57.17)
CIE-LCHlch(45.19, 83.32, 316.67°)
OKLaboklab(55.42% 0.1404 -0.1616)
OKLCHoklch(55.42% 0.214 311)
XYZxyz(25.9461, 14.6755, 58.5809)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ECC #70CC3E
analogous
#533ECC #9A3ECC #CC3EB7
triadic
#9A3ECC #CC9A3E #3ECC9A
tetradic
#9A3ECC #CC533E #70CC3E #3EB7CC
square
#9A3ECC #CC533E #70CC3E #3EB7CC
split-complementary
#9A3ECC #B7CC3E #3ECC53
monochromatic
#541E72 #782BA2 #9A3ECC #B36ED9 #CD9FE6

Accessibility & contrast

On white

5.34
#9A3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9A3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ECC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ECC#FFFFFF#000000##FFFFFF
##9A3ECC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#945D81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3ecc;
/* rgb */ color: rgb(154, 62, 204);
/* oklch */ color: oklch(55.4% 0.214 311.0);
Tailwind
colors: {
  custom: {
    50: '#bc7bdc',
    500: '#9a3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ecc;
$custom-light: #bc7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ecc",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 278.873,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.2141,
    "h": 311
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#9A3ECC
secondary
#AAD294
accent
#E1467D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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