#8F34D1#8F34D1

#8F34D1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.4% C 0.227 H 306.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F34D1
RGBrgb(143, 52, 209)
HSLhsl(275, 63%, 51%)
HSVhsv(275, 75%, 82%)
CMYKcmyk(31.6%, 75.1%, 0%, 18%)
CIE-LABlab(42.61, 63.67, -64.30)
CIE-LCHlch(42.61, 90.49, 314.72°)
OKLaboklab(53.39% 0.1347 -0.1829)
OKLCHoklch(53.39% 0.227 306.4)
XYZxyz(24.0618, 12.8993, 61.5315)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34D1 #76D134
analogous
#4034D1 #8F34D1 #D134C4
triadic
#8F34D1 #D18F34 #34D18F
tetradic
#8F34D1 #D14034 #76D134 #34C4D1
square
#8F34D1 #D14034 #76D134 #34C4D1
split-complementary
#8F34D1 #C4D134 #34D140
monochromatic
#4C1A71 #6E25A3 #8F34D1 #AB66DC #C698E8

Accessibility & contrast

On white

5.87
#8F34D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8F34D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34D1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34D1#FFFFFF#000000##FFFFFF
##8F34D11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#835B81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f34d1;
/* rgb */ color: rgb(143, 52, 209);
/* oklch */ color: oklch(53.4% 0.227 306.4);
Tailwind
colors: {
  custom: {
    50: '#b575e0',
    500: '#8f34d1',
    950: '#000000',
  },
}
SCSS
$custom: #8f34d1;
$custom-light: #b575e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34d1",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 274.777,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.22712,
    "h": 306.4
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#8F34D1
secondary
#ABD38E
accent
#E64287
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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