#8F34C2#8F34C2

#8F34C2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.213 H 310.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8F34C2
RGBrgb(143, 52, 194)
HSLhsl(278, 58%, 48%)
HSVhsv(278, 73%, 76%)
CMYKcmyk(26.3%, 73.2%, 0%, 23.9%)
CIE-LABlab(41.52, 60.42, -57.37)
CIE-LCHlch(41.52, 83.32, 316.48°)
OKLaboklab(52.28% 0.1375 -0.1625)
OKLCHoklch(52.28% 0.213 310.2)
XYZxyz(22.2914, 12.1912, 52.2073)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34C2 #67C234
analogous
#4834C2 #8F34C2 #C234AE
triadic
#8F34C2 #C28F34 #34C28F
tetradic
#8F34C2 #C24834 #67C234 #34AEC2
square
#8F34C2 #C24834 #67C234 #34AEC2
split-complementary
#8F34C2 #AEC234 #34C248
monochromatic
#481A61 #6B2792 #8F34C2 #AA5FD4 #C48FE1

Accessibility & contrast

On white

6.11
#8F34C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8F34C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34C2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34C2#FFFFFF#000000##FFFFFF
##8F34C21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#1563BF
Tritanopia (blue-blind)
#885578
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f34c2;
/* rgb */ color: rgb(143, 52, 194);
/* oklch */ color: oklch(52.3% 0.213 310.2);
Tailwind
colors: {
  custom: {
    50: '#b474d5',
    500: '#8f34c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f34c2;
$custom-light: #b474d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34c2",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 278.451,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.21284,
    "h": 310.2
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F34C2

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

Preview Lab → · Contrast checker → · Palette generator →

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