#8A34BF#8A34BF

#8A34BF is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.209 H 309.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A34BF
RGBrgb(138, 52, 191)
HSLhsl(277, 57%, 48%)
HSVhsv(277, 73%, 75%)
CMYKcmyk(27.7%, 72.8%, 0%, 25.1%)
CIE-LABlab(40.61, 58.81, -57.12)
CIE-LCHlch(40.61, 81.98, 315.83°)
OKLaboklab(51.42% 0.1313 -0.1619)
OKLCHoklch(51.42% 0.209 309)
XYZxyz(21.1113, 11.6212, 50.4111)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A34BF #69BF34
analogous
#4434BF #8A34BF #BF34AF
triadic
#8A34BF #BF8A34 #34BF8A
tetradic
#8A34BF #BF4434 #69BF34 #34AFBF
square
#8A34BF #BF4434 #69BF34 #34AFBF
split-complementary
#8A34BF #AFBF34 #34BF44
monochromatic
#441A5F #67278F #8A34BF #A65DD3 #C18DE0

Accessibility & contrast

On white

6.32
#8A34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A34BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A34BF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A34BF#FFFFFF#000000##FFFFFF
##8A34BF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0D61BC
Tritanopia (blue-blind)
#825477
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a34bf;
/* rgb */ color: rgb(138, 52, 191);
/* oklch */ color: oklch(51.4% 0.209 309.0);
Tailwind
colors: {
  custom: {
    50: '#b173d3',
    500: '#8a34bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a34bf;
$custom-light: #b173d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a34bf",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 277.122,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.20851,
    "h": 309
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#8A34BF
secondary
#9FCA84
accent
#E04782
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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