#8F34C3#8F34C3

#8F34C3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.4% C 0.214 H 310.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8F34C3
RGBrgb(143, 52, 195)
HSLhsl(278, 58%, 48%)
HSVhsv(278, 73%, 76%)
CMYKcmyk(26.7%, 73.3%, 0%, 23.5%)
CIE-LABlab(41.59, 60.63, -57.84)
CIE-LCHlch(41.59, 83.80, 316.35°)
OKLaboklab(52.35% 0.1373 -0.1639)
OKLCHoklch(52.35% 0.214 310)
XYZxyz(22.4041, 12.2362, 52.8008)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34C3 #68C334
analogous
#4734C3 #8F34C3 #C334AF
triadic
#8F34C3 #C38F34 #34C38F
tetradic
#8F34C3 #C34734 #68C334 #34AFC3
square
#8F34C3 #C34734 #68C334 #34AFC3
split-complementary
#8F34C3 #AFC334 #34C347
monochromatic
#481A62 #6C2793 #8F34C3 #AA60D5 #C490E1

Accessibility & contrast

On white

6.09
#8F34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8F34C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34C3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34C3#FFFFFF#000000##FFFFFF
##8F34C31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#1263C0
Tritanopia (blue-blind)
#885579
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f34c3;
/* rgb */ color: rgb(143, 52, 195);
/* oklch */ color: oklch(52.4% 0.214 310.0);
Tailwind
colors: {
  custom: {
    50: '#b574d6',
    500: '#8f34c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f34c3;
$custom-light: #b574d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34c3",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 278.182,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.21379,
    "h": 310
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#8F34C3
secondary
#A0CC87
accent
#E1477F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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