#8D34FF#8D34FF

#8D34FF is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.9% C 0.271 H 296.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8D34FF
RGBrgb(141, 52, 255)
HSLhsl(266, 100%, 60%)
HSVhsv(266, 80%, 100%)
CMYKcmyk(44.7%, 79.6%, 0%, 0%)
CIE-LABlab(46.09, 73.76, -84.69)
CIE-LCHlch(46.09, 112.31, 311.05°)
OKLaboklab(56.92% 0.1198 -0.2428)
OKLCHoklch(56.92% 0.271 296.3)
XYZxyz(30.2577, 15.3380, 95.9547)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34FF #A6FF34
analogous
#3441FF #8D34FF #F234FF
triadic
#8D34FF #FF8D34 #34FF8D
tetradic
#8D34FF #FF3441 #A6FF34 #34FFF2
square
#8D34FF #FF3441 #A6FF34 #34FFF2
split-complementary
#8D34FF #FFF234 #41FF34
monochromatic
#5100B9 #6C00F6 #8D34FF #AF71FF #D2AEFF

Accessibility & contrast

On white

5.16
#8D34FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8D34FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34FF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34FF#FFFFFF#000000##FFFFFF
##8D34FF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EFF
Deuteranopia (green-blind)
#006AFB
Tritanopia (blue-blind)
#6D6F9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d34ff;
/* rgb */ color: rgb(141, 52, 255);
/* oklch */ color: oklch(56.9% 0.271 296.3);
Tailwind
colors: {
  custom: {
    50: '#b877ff',
    500: '#8d34ff',
    950: '#000000',
  },
}
SCSS
$custom: #8d34ff;
$custom-light: #b877ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34ff",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 255
  },
  "hsl": {
    "h": 266.305,
    "s": 100,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5692,
    "c": 0.27072,
    "h": 296.3
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#8D34FF
secondary
#CCEEA0
accent
#E60081
background
#FCF7FF
surface
#F8EEFF
border
#D1C9D7
text
#130918
muted
#827B86

Preview Lab

Preview with #8D34FF

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

Preview Lab → · Contrast checker → · Palette generator →

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