#9A34D1#9A34D1

#9A34D1 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.8% C 0.230 H 310.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9A34D1
RGBrgb(154, 52, 209)
HSLhsl(279, 63%, 51%)
HSVhsv(279, 75%, 82%)
CMYKcmyk(26.3%, 75.1%, 0%, 18%)
CIE-LABlab(44.13, 65.64, -61.76)
CIE-LCHlch(44.13, 90.12, 316.74°)
OKLaboklab(54.78% 0.1493 -0.175)
OKLCHoklch(54.78% 0.23 310.5)
XYZxyz(26.0608, 13.9301, 61.6252)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34D1 #6BD134
analogous
#4B34D1 #9A34D1 #D134B9
triadic
#9A34D1 #D19A34 #34D19A
tetradic
#9A34D1 #D14B34 #6BD134 #34B9D1
square
#9A34D1 #D14B34 #6BD134 #34B9D1
split-complementary
#9A34D1 #B9D134 #34D14B
monochromatic
#521A71 #7725A3 #9A34D1 #B366DC #CC98E8

Accessibility & contrast

On white

5.55
#9A34D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9A34D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34D1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34D1#FFFFFF#000000##FFFFFF
##9A34D11.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0A6ACE
Tritanopia (blue-blind)
#925981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a34d1;
/* rgb */ color: rgb(154, 52, 209);
/* oklch */ color: oklch(54.8% 0.230 310.5);
Tailwind
colors: {
  custom: {
    50: '#bd76e0',
    500: '#9a34d1',
    950: '#000000',
  },
}
SCSS
$custom: #9a34d1;
$custom-light: #bd76e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34d1",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 278.981,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.23002,
    "h": 310.5
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#9A34D1
secondary
#A6D38E
accent
#E6427B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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