#8F34C0#8F34C0

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

Color values

HEX#8F34C0
RGBrgb(143, 52, 192)
HSLhsl(279, 57%, 48%)
HSVhsv(279, 73%, 75%)
CMYKcmyk(25.5%, 72.9%, 0%, 24.7%)
CIE-LABlab(41.38, 60.00, -56.43)
CIE-LCHlch(41.38, 82.36, 316.75°)
OKLaboklab(52.14% 0.1378 -0.1597)
OKLCHoklch(52.14% 0.211 310.8)
XYZxyz(22.0683, 12.1019, 51.0323)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34C0 #65C034
analogous
#4934C0 #8F34C0 #C034AB
triadic
#8F34C0 #C08F34 #34C08F
tetradic
#8F34C0 #C04934 #65C034 #34ABC0
square
#8F34C0 #C04934 #65C034 #34ABC0
split-complementary
#8F34C0 #ABC034 #34C049
monochromatic
#471A60 #6B2790 #8F34C0 #AA5ED3 #C48EE0

Accessibility & contrast

On white

6.14
#8F34C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F34C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34C0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34C0#FFFFFF#000000##FFFFFF
##8F34C01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#1A63BD
Tritanopia (blue-blind)
#885477
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f34c0;
/* rgb */ color: rgb(143, 52, 192);
/* oklch */ color: oklch(52.1% 0.211 310.8);
Tailwind
colors: {
  custom: {
    50: '#b474d4',
    500: '#8f34c0',
    950: '#000000',
  },
}
SCSS
$custom: #8f34c0;
$custom-light: #b474d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34c0",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 279,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.21094,
    "h": 310.8
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#8F34C0
secondary
#9DCB85
accent
#E1477D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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