#8F34BD#8F34BD

#8F34BD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.208 H 311.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8F34BD
RGBrgb(143, 52, 189)
HSLhsl(280, 57%, 47%)
HSVhsv(280, 72%, 74%)
CMYKcmyk(24.3%, 72.5%, 0%, 25.9%)
CIE-LABlab(41.17, 59.36, -55.01)
CIE-LCHlch(41.17, 80.93, 317.18°)
OKLaboklab(51.92% 0.1382 -0.1556)
OKLCHoklch(51.92% 0.208 311.6)
XYZxyz(21.7393, 11.9703, 49.2996)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34BD #62BD34
analogous
#4B34BD #8F34BD #BD34A6
triadic
#8F34BD #BD8F34 #34BD8F
tetradic
#8F34BD #BD4B34 #62BD34 #34A6BD
square
#8F34BD #BD4B34 #62BD34 #34A6BD
split-complementary
#8F34BD #A6BD34 #34BD4B
monochromatic
#461A5D #6B278D #8F34BD #AB5CD2 #C38CDF

Accessibility & contrast

On white

6.19
#8F34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8F34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34BD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34BD#FFFFFF#000000##FFFFFF
##8F34BD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#895376
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f34bd;
/* rgb */ color: rgb(143, 52, 189);
/* oklch */ color: oklch(51.9% 0.208 311.6);
Tailwind
colors: {
  custom: {
    50: '#b474d2',
    500: '#8f34bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f34bd;
$custom-light: #b474d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34bd",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 279.854,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.20809,
    "h": 311.6
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#8F34BD
secondary
#9BCA83
accent
#E0487B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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