#8F34BF#8F34BF

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

Color values

HEX#8F34BF
RGBrgb(143, 52, 191)
HSLhsl(279, 57%, 48%)
HSVhsv(279, 73%, 75%)
CMYKcmyk(25.1%, 72.8%, 0%, 25.1%)
CIE-LABlab(41.31, 59.78, -55.96)
CIE-LCHlch(41.31, 81.88, 316.89°)
OKLaboklab(52.06% 0.1379 -0.1583)
OKLCHoklch(52.06% 0.21 311.1)
XYZxyz(21.9579, 12.0577, 50.4508)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34BF #64BF34
analogous
#4A34BF #8F34BF #BF34A9
triadic
#8F34BF #BF8F34 #34BF8F
tetradic
#8F34BF #BF4A34 #64BF34 #34A9BF
square
#8F34BF #BF4A34 #64BF34 #34A9BF
split-complementary
#8F34BF #A9BF34 #34BF4A
monochromatic
#471A5F #6B278F #8F34BF #AA5DD3 #C38DE0

Accessibility & contrast

On white

6.16
#8F34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8F34BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34BF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34BF#FFFFFF#000000##FFFFFF
##8F34BF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#895377
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f34bf;
/* rgb */ color: rgb(143, 52, 191);
/* oklch */ color: oklch(52.1% 0.210 311.1);
Tailwind
colors: {
  custom: {
    50: '#b474d3',
    500: '#8f34bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f34bf;
$custom-light: #b474d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34bf",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 279.281,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.20999,
    "h": 311.1
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#8F34BF
secondary
#9DCA84
accent
#E0477C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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