#8F34DA#8F34DA

#8F34DA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.1% C 0.236 H 304.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8F34DA
RGBrgb(143, 52, 218)
HSLhsl(273, 69%, 53%)
HSVhsv(273, 76%, 85%)
CMYKcmyk(34.4%, 76.1%, 0%, 14.5%)
CIE-LABlab(43.30, 65.65, -68.35)
CIE-LCHlch(43.30, 94.78, 313.85°)
OKLaboklab(54.09% 0.1327 -0.1948)
OKLCHoklch(54.09% 0.236 304.3)
XYZxyz(25.2077, 13.3577, 67.5664)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34DA #7FDA34
analogous
#3C34DA #8F34DA #DA34D2
triadic
#8F34DA #DA8F34 #34DA8F
tetradic
#8F34DA #DA3C34 #7FDA34 #34D2DA
square
#8F34DA #DA3C34 #7FDA34 #34D2DA
split-complementary
#8F34DA #D2DA34 #34DA3C
monochromatic
#4F177D #6F20B1 #8F34DA #AC68E3 #C89CED

Accessibility & contrast

On white

5.72
#8F34DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8F34DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34DA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34DA#FFFFFF#000000##FFFFFF
##8F34DA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#805F86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f34da;
/* rgb */ color: rgb(143, 52, 218);
/* oklch */ color: oklch(54.1% 0.236 304.3);
Tailwind
colors: {
  custom: {
    50: '#b675e7',
    500: '#8f34da',
    950: '#000000',
  },
}
SCSS
$custom: #8f34da;
$custom-light: #b675e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34da",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 218
  },
  "hsl": {
    "h": 272.892,
    "s": 69.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.2357,
    "h": 304.3
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#8F34DA
secondary
#B1D991
accent
#EC3C8B
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F34DA

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

Preview Lab → · Contrast checker → · Palette generator →

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