#9B3ECA#9B3ECA

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

Color values

HEX#9B3ECA
RGBrgb(155, 62, 202)
HSLhsl(280, 57%, 52%)
HSVhsv(280, 69%, 79%)
CMYKcmyk(23.3%, 69.3%, 0%, 20.8%)
CIE-LABlab(45.19, 60.40, -56.00)
CIE-LCHlch(45.19, 82.37, 317.16°)
OKLaboklab(55.41% 0.1419 -0.1582)
OKLCHoklch(55.41% 0.212 311.9)
XYZxyz(25.8989, 14.6788, 57.3346)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3ECA #6DCA3E
analogous
#553ECA #9B3ECA #CA3EB3
triadic
#9B3ECA #CA9B3E #3ECA9B
tetradic
#9B3ECA #CA553E #6DCA3E #3EB3CA
square
#9B3ECA #CA553E #6DCA3E #3EB3CA
split-complementary
#9B3ECA #B3CA3E #3ECA55
monochromatic
#541F6F #782C9F #9B3ECA #B46ED7 #CD9EE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B3ECA#FFFFFF#000000##FFFFFF
##9B3ECA1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3eca;
/* rgb */ color: rgb(155, 62, 202);
/* oklch */ color: oklch(55.4% 0.212 311.9);
Tailwind
colors: {
  custom: {
    50: '#bd7bdb',
    500: '#9b3eca',
    950: '#000000',
  },
}
SCSS
$custom: #9b3eca;
$custom-light: #bd7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3eca",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 279.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55411,
    "c": 0.21249,
    "h": 311.9
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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