#9A34D0#9A34D0

#9A34D0 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.229 H 310.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9A34D0
RGBrgb(154, 52, 208)
HSLhsl(279, 62%, 51%)
HSVhsv(279, 75%, 82%)
CMYKcmyk(26%, 75%, 0%, 18.4%)
CIE-LABlab(44.06, 65.43, -61.30)
CIE-LCHlch(44.06, 89.66, 316.87°)
OKLaboklab(54.71% 0.1494 -0.1737)
OKLCHoklch(54.71% 0.229 310.7)
XYZxyz(25.9374, 13.8807, 60.9752)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34D0 #6AD034
analogous
#4C34D0 #9A34D0 #D034B8
triadic
#9A34D0 #D09A34 #34D09A
tetradic
#9A34D0 #D04C34 #6AD034 #34B8D0
square
#9A34D0 #D04C34 #6AD034 #34B8D0
split-complementary
#9A34D0 #B8D034 #34D04C
monochromatic
#521A70 #7625A1 #9A34D0 #B366DC #CB97E7

Accessibility & contrast

On white

5.56
#9A34D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9A34D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34D0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34D0#FFFFFF#000000##FFFFFF
##9A34D01.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0E6ACD
Tritanopia (blue-blind)
#935980
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a34d0;
/* rgb */ color: rgb(154, 52, 208);
/* oklch */ color: oklch(54.7% 0.229 310.7);
Tailwind
colors: {
  custom: {
    50: '#bd76df',
    500: '#9a34d0',
    950: '#000000',
  },
}
SCSS
$custom: #9a34d0;
$custom-light: #bd76df;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34d0",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 208
  },
  "hsl": {
    "h": 279.231,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54711,
    "c": 0.22911,
    "h": 310.7
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#9A34D0
secondary
#A5D28D
accent
#E5427B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A34D0

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

Preview Lab → · Contrast checker → · Palette generator →

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