#8B4FBE#8B4FBE

#8B4FBE is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.172 H 306.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8B4FBE
RGBrgb(139, 79, 190)
HSLhsl(272, 46%, 53%)
HSVhsv(272, 58%, 75%)
CMYKcmyk(26.8%, 58.4%, 0%, 25.5%)
CIE-LABlab(45.36, 45.91, -48.88)
CIE-LCHlch(45.36, 67.06, 313.20°)
OKLaboklab(54.85% 0.1021 -0.1379)
OKLCHoklch(54.85% 0.172 306.5)
XYZxyz(22.7358, 14.7989, 50.3639)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FBE #82BE4F
analogous
#534FBE #8B4FBE #BE4FBA
triadic
#8B4FBE #BE8B4F #4FBE8B
tetradic
#8B4FBE #BE534F #82BE4F #4FBABE
square
#8B4FBE #BE534F #82BE4F #4FBABE
split-complementary
#8B4FBE #BABE4F #4FBE53
monochromatic
#4C286B #6C3898 #8B4FBE #A87CCF #C6A8DF

Accessibility & contrast

On white

5.30
#8B4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8B4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FBE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FBE#FFFFFF#000000##FFFFFF
##8B4FBE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#83647F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b4fbe;
/* rgb */ color: rgb(139, 79, 190);
/* oklch */ color: oklch(54.8% 0.172 306.5);
Tailwind
colors: {
  custom: {
    50: '#b083d2',
    500: '#8b4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fbe;
$custom-light: #b083d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fbe",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 272.432,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54849,
    "c": 0.17153,
    "h": 306.5
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#8B4FBE
secondary
#B2CC9C
accent
#D6528F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8B4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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