#8B34C7#8B34C7

#8B34C7 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.217 H 307.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8B34C7
RGBrgb(139, 52, 199)
HSLhsl(276, 59%, 49%)
HSVhsv(276, 74%, 78%)
CMYKcmyk(30.2%, 73.9%, 0%, 22%)
CIE-LABlab(41.33, 60.75, -60.62)
CIE-LCHlch(41.33, 85.82, 315.06°)
OKLaboklab(52.14% 0.1313 -0.1722)
OKLCHoklch(52.14% 0.217 307.3)
XYZxyz(22.1821, 12.0688, 55.1827)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34C7 #70C734
analogous
#4134C7 #8B34C7 #C734BA
triadic
#8B34C7 #C78B34 #34C78B
tetradic
#8B34C7 #C74134 #70C734 #34BAC7
square
#8B34C7 #C74134 #70C734 #34BAC7
split-complementary
#8B34C7 #BAC734 #34C741
monochromatic
#471B66 #692796 #8B34C7 #A762D6 #C293E3

Accessibility & contrast

On white

6.15
#8B34C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8B34C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B34C7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34C7#FFFFFF#000000##FFFFFF
##8B34C71.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#81577B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b34c7;
/* rgb */ color: rgb(139, 52, 199);
/* oklch */ color: oklch(52.1% 0.217 307.3);
Tailwind
colors: {
  custom: {
    50: '#b274d9',
    500: '#8b34c7',
    950: '#000000',
  },
}
SCSS
$custom: #8b34c7;
$custom-light: #b274d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34c7",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 275.51,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5214,
    "c": 0.21653,
    "h": 307.3
  },
  "luminance": 0.12068
}

Semantic roles & 50–950 ramp

primary
#8B34C7
secondary
#A5CE89
accent
#E24686
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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