#8F34C4#8F34C4

#8F34C4 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.215 H 309.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8F34C4
RGBrgb(143, 52, 196)
HSLhsl(278, 58%, 49%)
HSVhsv(278, 73%, 77%)
CMYKcmyk(27%, 73.5%, 0%, 23.1%)
CIE-LABlab(41.66, 60.85, -58.31)
CIE-LCHlch(41.66, 84.27, 316.22°)
OKLaboklab(52.42% 0.1371 -0.1652)
OKLCHoklch(52.42% 0.215 309.7)
XYZxyz(22.5175, 12.2816, 53.3982)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34C4 #69C434
analogous
#4734C4 #8F34C4 #C434B1
triadic
#8F34C4 #C48F34 #34C48F
tetradic
#8F34C4 #C44734 #69C434 #34B1C4
square
#8F34C4 #C44734 #69C434 #34B1C4
split-complementary
#8F34C4 #B1C434 #34C447
monochromatic
#481A63 #6C2794 #8F34C4 #AA60D5 #C491E2

Accessibility & contrast

On white

6.08
#8F34C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F34C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34C4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34C4#FFFFFF#000000##FFFFFF
##8F34C41.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0F64C1
Tritanopia (blue-blind)
#875579
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f34c4;
/* rgb */ color: rgb(143, 52, 196);
/* oklch */ color: oklch(52.4% 0.215 309.7);
Tailwind
colors: {
  custom: {
    50: '#b574d7',
    500: '#8f34c4',
    950: '#000000',
  },
}
SCSS
$custom: #8f34c4;
$custom-light: #b574d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34c4",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 277.917,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.21474,
    "h": 309.7
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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