#8F34C8#8F34C8

#8F34C8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.219 H 308.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8F34C8
RGBrgb(143, 52, 200)
HSLhsl(277, 59%, 49%)
HSVhsv(277, 74%, 78%)
CMYKcmyk(28.5%, 74%, 0%, 21.6%)
CIE-LABlab(41.95, 61.71, -60.17)
CIE-LCHlch(41.95, 86.19, 315.72°)
OKLaboklab(52.72% 0.1364 -0.1707)
OKLCHoklch(52.72% 0.219 308.6)
XYZxyz(22.9789, 12.4661, 55.8281)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34C8 #6DC834
analogous
#4534C8 #8F34C8 #C834B7
triadic
#8F34C8 #C88F34 #34C88F
tetradic
#8F34C8 #C84534 #6DC834 #34B7C8
square
#8F34C8 #C84534 #6DC834 #34B7C8
split-complementary
#8F34C8 #B7C834 #34C845
monochromatic
#4A1B67 #6C2797 #8F34C8 #AA63D6 #C493E3

Accessibility & contrast

On white

6.01
#8F34C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8F34C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34C8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34C8#FFFFFF#000000##FFFFFF
##8F34C81.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#86577C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f34c8;
/* rgb */ color: rgb(143, 52, 200);
/* oklch */ color: oklch(52.7% 0.219 308.6);
Tailwind
colors: {
  custom: {
    50: '#b574da',
    500: '#8f34c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f34c8;
$custom-light: #b574da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34c8",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 276.892,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.21855,
    "h": 308.6
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#8F34C8
secondary
#A4CE8A
accent
#E24682
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F34C8

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

Preview Lab → · Contrast checker → · Palette generator →

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