#9A3ECB#9A3ECB

#9A3ECB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.213 H 311.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9A3ECB
RGBrgb(154, 62, 203)
HSLhsl(279, 58%, 52%)
HSVhsv(279, 69%, 80%)
CMYKcmyk(24.1%, 69.5%, 0%, 20.4%)
CIE-LABlab(45.12, 60.40, -56.70)
CIE-LCHlch(45.12, 82.85, 316.81°)
OKLaboklab(55.35% 0.1405 -0.1602)
OKLCHoklch(55.35% 0.213 311.3)
XYZxyz(25.8265, 14.6277, 57.9513)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ECB #6FCB3E
analogous
#543ECB #9A3ECB #CB3EB6
triadic
#9A3ECB #CB9A3E #3ECB9A
tetradic
#9A3ECB #CB543E #6FCB3E #3EB6CB
square
#9A3ECB #CB543E #6FCB3E #3EB6CB
split-complementary
#9A3ECB #B6CB3E #3ECB54
monochromatic
#541E70 #782BA1 #9A3ECB #B36ED8 #CC9EE5

Accessibility & contrast

On white

5.35
#9A3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A3ECB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ECB#FFFFFF#000000##FFFFFF
##9A3ECB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a3ecb;
/* rgb */ color: rgb(154, 62, 203);
/* oklch */ color: oklch(55.4% 0.213 311.3);
Tailwind
colors: {
  custom: {
    50: '#bc7bdc',
    500: '#9a3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ecb;
$custom-light: #bc7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ecb",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 279.149,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55353,
    "c": 0.21313,
    "h": 311.3
  },
  "luminance": 0.14627
}

Semantic roles & 50–950 ramp

primary
#9A3ECB
secondary
#A9D194
accent
#E1477C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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