#8F34C5#8F34C5

#8F34C5 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.216 H 309.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8F34C5
RGBrgb(143, 52, 197)
HSLhsl(278, 58%, 49%)
HSVhsv(278, 74%, 77%)
CMYKcmyk(27.4%, 73.6%, 0%, 22.7%)
CIE-LABlab(41.73, 61.06, -58.77)
CIE-LCHlch(41.73, 84.75, 316.09°)
OKLaboklab(52.5% 0.137 -0.1666)
OKLCHoklch(52.5% 0.216 309.4)
XYZxyz(22.6317, 12.3273, 53.9997)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34C5 #6AC534
analogous
#4734C5 #8F34C5 #C534B3
triadic
#8F34C5 #C58F34 #34C58F
tetradic
#8F34C5 #C54734 #6AC534 #34B3C5
square
#8F34C5 #C54734 #6AC534 #34B3C5
split-complementary
#8F34C5 #B3C534 #34C547
monochromatic
#491A64 #6C2795 #8F34C5 #AA61D5 #C491E2

Accessibility & contrast

On white

6.06
#8F34C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8F34C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34C5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34C5#FFFFFF#000000##FFFFFF
##8F34C51.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0A64C2
Tritanopia (blue-blind)
#87567A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f34c5;
/* rgb */ color: rgb(143, 52, 197);
/* oklch */ color: oklch(52.5% 0.216 309.4);
Tailwind
colors: {
  custom: {
    50: '#b574d7',
    500: '#8f34c5',
    950: '#000000',
  },
}
SCSS
$custom: #8f34c5;
$custom-light: #b574d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34c5",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 277.655,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.21569,
    "h": 309.4
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#8F34C5
secondary
#A2CD88
accent
#E14680
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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