#8F34C1#8F34C1

#8F34C1 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.212 H 310.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8F34C1
RGBrgb(143, 52, 193)
HSLhsl(279, 58%, 48%)
HSVhsv(279, 73%, 76%)
CMYKcmyk(25.9%, 73.1%, 0%, 24.3%)
CIE-LABlab(41.45, 60.21, -56.90)
CIE-LCHlch(41.45, 82.84, 316.62°)
OKLaboklab(52.21% 0.1376 -0.1611)
OKLCHoklch(52.21% 0.212 310.5)
XYZxyz(22.1795, 12.1464, 51.6178)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34C1 #66C134
analogous
#4834C1 #8F34C1 #C134AD
triadic
#8F34C1 #C18F34 #34C18F
tetradic
#8F34C1 #C14834 #66C134 #34ADC1
square
#8F34C1 #C14834 #66C134 #34ADC1
split-complementary
#8F34C1 #ADC134 #34C148
monochromatic
#481A61 #6B2791 #8F34C1 #AA5ED4 #C48FE1

Accessibility & contrast

On white

6.12
#8F34C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8F34C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34C1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34C1#FFFFFF#000000##FFFFFF
##8F34C11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#1863BE
Tritanopia (blue-blind)
#885478
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f34c1;
/* rgb */ color: rgb(143, 52, 193);
/* oklch */ color: oklch(52.2% 0.212 310.5);
Tailwind
colors: {
  custom: {
    50: '#b474d5',
    500: '#8f34c1',
    950: '#000000',
  },
}
SCSS
$custom: #8f34c1;
$custom-light: #b474d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34c1",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 278.723,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.21189,
    "h": 310.5
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#8F34C1
secondary
#9ECB86
accent
#E1477E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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