#9A34BF#9A34BF

#9A34BF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.214 H 315.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9A34BF
RGBrgb(154, 52, 191)
HSLhsl(284, 57%, 48%)
HSVhsv(284, 73%, 75%)
CMYKcmyk(19.4%, 72.8%, 0%, 25.1%)
CIE-LABlab(42.90, 61.98, -53.31)
CIE-LCHlch(42.90, 81.75, 319.30°)
OKLaboklab(53.52% 0.1519 -0.1502)
OKLCHoklch(53.52% 0.214 315.3)
XYZxyz(23.9569, 13.0885, 50.5445)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34BF #59BF34
analogous
#5534BF #9A34BF #BF349E
triadic
#9A34BF #BF9A34 #34BF9A
tetradic
#9A34BF #BF5534 #59BF34 #349EBF
square
#9A34BF #BF5534 #59BF34 #349EBF
split-complementary
#9A34BF #9EBF34 #34BF55
monochromatic
#4C1A5F #73278F #9A34BF #B45DD3 #CA8DE0

Accessibility & contrast

On white

5.80
#9A34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9A34BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34BF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34BF#FFFFFF#000000##FFFFFF
##9A34BF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#975277
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a34bf;
/* rgb */ color: rgb(154, 52, 191);
/* oklch */ color: oklch(53.5% 0.214 315.3);
Tailwind
colors: {
  custom: {
    50: '#bc75d3',
    500: '#9a34bf',
    950: '#000000',
  },
}
SCSS
$custom: #9a34bf;
$custom-light: #bc75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34bf",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 284.029,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.21366,
    "h": 315.3
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#9A34BF
secondary
#97CA84
accent
#E04770
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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