#9A3BCB#9A3BCB

#9A3BCB is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.217 H 311.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9A3BCB
RGBrgb(154, 59, 203)
HSLhsl(280, 58%, 51%)
HSVhsv(280, 71%, 80%)
CMYKcmyk(24.1%, 70.9%, 0%, 20.4%)
CIE-LABlab(44.67, 61.66, -57.42)
CIE-LCHlch(44.67, 84.25, 317.04°)
OKLaboklab(55.04% 0.1436 -0.1623)
OKLCHoklch(55.04% 0.217 311.5)
XYZxyz(25.6679, 14.3104, 57.8984)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BCB #6CCB3B
analogous
#523BCB #9A3BCB #CB3BB4
triadic
#9A3BCB #CB9A3B #3BCB9A
tetradic
#9A3BCB #CB523B #6CCB3B #3BB4CB
square
#9A3BCB #CB523B #6CCB3B #3BB4CB
split-complementary
#9A3BCB #B4CB3B #3BCB52
monochromatic
#531D6E #772A9F #9A3BCB #B36BD8 #CC9CE5

Accessibility & contrast

On white

5.44
#9A3BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9A3BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BCB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BCB#FFFFFF#000000##FFFFFF
##9A3BCB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#276BC8
Tritanopia (blue-blind)
#945B7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a3bcb;
/* rgb */ color: rgb(154, 59, 203);
/* oklch */ color: oklch(55.0% 0.217 311.5);
Tailwind
colors: {
  custom: {
    50: '#bc79dc',
    500: '#9a3bcb',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bcb;
$custom-light: #bc79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bcb",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 279.583,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55036,
    "c": 0.21672,
    "h": 311.5
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#9A3BCB
secondary
#A7D191
accent
#E1477B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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