#8F34C9#8F34C9

#8F34C9 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.220 H 308.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8F34C9
RGBrgb(143, 52, 201)
HSLhsl(277, 59%, 50%)
HSVhsv(277, 74%, 79%)
CMYKcmyk(28.9%, 74.1%, 0%, 21.2%)
CIE-LABlab(42.02, 61.92, -60.63)
CIE-LCHlch(42.02, 86.66, 315.61°)
OKLaboklab(52.79% 0.1363 -0.1721)
OKLCHoklch(52.79% 0.22 308.4)
XYZxyz(23.0961, 12.5130, 56.4456)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34C9 #6EC934
analogous
#4434C9 #8F34C9 #C934B9
triadic
#8F34C9 #C98F34 #34C98F
tetradic
#8F34C9 #C94434 #6EC934 #34B9C9
square
#8F34C9 #C94434 #6EC934 #34B9C9
split-complementary
#8F34C9 #B9C934 #34C944
monochromatic
#4A1B68 #6C2798 #8F34C9 #AA63D7 #C494E3

Accessibility & contrast

On white

6.00
#8F34C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8F34C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34C9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34C9#FFFFFF#000000##FFFFFF
##8F34C91.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#86587C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f34c9;
/* rgb */ color: rgb(143, 52, 201);
/* oklch */ color: oklch(52.8% 0.220 308.4);
Tailwind
colors: {
  custom: {
    50: '#b574da',
    500: '#8f34c9',
    950: '#000000',
  },
}
SCSS
$custom: #8f34c9;
$custom-light: #b574da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34c9",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 276.644,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.2195,
    "h": 308.4
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#8F34C9
secondary
#A5CE8A
accent
#E24683
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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