#8F34D3#8F34D3

#8F34D3 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.5% C 0.229 H 305.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8F34D3
RGBrgb(143, 52, 211)
HSLhsl(274, 64%, 52%)
HSVhsv(274, 75%, 83%)
CMYKcmyk(32.2%, 75.4%, 0%, 17.3%)
CIE-LABlab(42.76, 64.11, -65.21)
CIE-LCHlch(42.76, 91.44, 314.51°)
OKLaboklab(53.55% 0.1343 -0.1855)
OKLCHoklch(53.55% 0.229 305.9)
XYZxyz(24.3110, 12.9990, 62.8437)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34D3 #78D334
analogous
#4034D3 #8F34D3 #D334C7
triadic
#8F34D3 #D38F34 #34D38F
tetradic
#8F34D3 #D34034 #78D334 #34C7D3
square
#8F34D3 #D34034 #78D334 #34C7D3
split-complementary
#8F34D3 #C7D334 #34D340
monochromatic
#4D1974 #6E24A6 #8F34D3 #AB66DE #C799E9

Accessibility & contrast

On white

5.83
#8F34D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8F34D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34D3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34D3#FFFFFF#000000##FFFFFF
##8F34D31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#835C82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f34d3;
/* rgb */ color: rgb(143, 52, 211);
/* oklch */ color: oklch(53.5% 0.229 305.9);
Tailwind
colors: {
  custom: {
    50: '#b675e1',
    500: '#8f34d3',
    950: '#000000',
  },
}
SCSS
$custom: #8f34d3;
$custom-light: #b675e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34d3",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 211
  },
  "hsl": {
    "h": 274.34,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.22903,
    "h": 305.9
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#8F34D3
secondary
#ACD48E
accent
#E74088
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F34D3

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

Preview Lab → · Contrast checker → · Palette generator →

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