#9A3ECD#9A3ECD

#9A3ECD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.215 H 310.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9A3ECD
RGBrgb(154, 62, 205)
HSLhsl(279, 59%, 52%)
HSVhsv(279, 70%, 80%)
CMYKcmyk(24.9%, 69.8%, 0%, 19.6%)
CIE-LABlab(45.25, 60.83, -57.64)
CIE-LCHlch(45.25, 83.80, 316.54°)
OKLaboklab(55.49% 0.1403 -0.163)
OKLCHoklch(55.49% 0.215 310.7)
XYZxyz(26.0664, 14.7237, 59.2146)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ECD #71CD3E
analogous
#523ECD #9A3ECD #CD3EB9
triadic
#9A3ECD #CD9A3E #3ECD9A
tetradic
#9A3ECD #CD523E #71CD3E #3EB9CD
square
#9A3ECD #CD523E #71CD3E #3EB9CD
split-complementary
#9A3ECD #B9CD3E #3ECD52
monochromatic
#541E73 #782AA3 #9A3ECD #B36FDA #CD9FE6

Accessibility & contrast

On white

5.32
#9A3ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9A3ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ECD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ECD#FFFFFF#000000##FFFFFF
##9A3ECD1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#935D81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3ecd;
/* rgb */ color: rgb(154, 62, 205);
/* oklch */ color: oklch(55.5% 0.215 310.7);
Tailwind
colors: {
  custom: {
    50: '#bc7bdd',
    500: '#9a3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ecd;
$custom-light: #bc7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ecd",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 278.601,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55491,
    "c": 0.21506,
    "h": 310.7
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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