#8F34DB#8F34DB

#8F34DB is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.2% C 0.237 H 304.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8F34DB
RGBrgb(143, 52, 219)
HSLhsl(273, 70%, 53%)
HSVhsv(273, 76%, 86%)
CMYKcmyk(34.7%, 76.3%, 0%, 14.1%)
CIE-LABlab(43.37, 65.87, -68.80)
CIE-LCHlch(43.37, 95.25, 313.76°)
OKLaboklab(54.17% 0.1325 -0.1961)
OKLCHoklch(54.17% 0.237 304)
XYZxyz(25.3389, 13.4102, 68.2576)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34DB #80DB34
analogous
#3C34DB #8F34DB #DB34D3
triadic
#8F34DB #DB8F34 #34DB8F
tetradic
#8F34DB #DB3C34 #80DB34 #34D3DB
square
#8F34DB #DB3C34 #80DB34 #34D3DB
split-complementary
#8F34DB #D3DB34 #34DB3C
monochromatic
#4F167E #6F20B2 #8F34DB #AC68E4 #C89CED

Accessibility & contrast

On white

5.70
#8F34DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8F34DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34DB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34DB#FFFFFF#000000##FFFFFF
##8F34DB1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f34db;
/* rgb */ color: rgb(143, 52, 219);
/* oklch */ color: oklch(54.2% 0.237 304.0);
Tailwind
colors: {
  custom: {
    50: '#b675e7',
    500: '#8f34db',
    950: '#000000',
  },
}
SCSS
$custom: #8f34db;
$custom-light: #b675e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34db",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 272.695,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54169,
    "c": 0.23665,
    "h": 304
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#8F34DB
secondary
#B2D991
accent
#ED3B8C
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F34DB

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

Preview Lab → · Contrast checker → · Palette generator →

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