#8A50BF#8A50BF

#8A50BF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.171 H 305.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A50BF
RGBrgb(138, 80, 191)
HSLhsl(271, 46%, 53%)
HSVhsv(271, 58%, 75%)
CMYKcmyk(27.7%, 58.1%, 0%, 25.1%)
CIE-LABlab(45.50, 45.37, -49.24)
CIE-LCHlch(45.50, 66.96, 312.65°)
OKLaboklab(54.95% 0.0995 -0.1389)
OKLCHoklch(54.95% 0.171 305.6)
XYZxyz(22.7518, 14.9023, 50.9580)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50BF #85BF50
analogous
#5250BF #8A50BF #BF50BD
triadic
#8A50BF #BF8A50 #50BF8A
tetradic
#8A50BF #BF5250 #85BF50 #50BDBF
square
#8A50BF #BF5250 #85BF50 #50BDBF
split-complementary
#8A50BF #BDBF50 #50BF52
monochromatic
#4C286D #6B389A #8A50BF #A87DCF #C6AAE0

Accessibility & contrast

On white

5.28
#8A50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8A50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50BF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50BF#FFFFFF#000000##FFFFFF
##8A50BF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#816680
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a50bf;
/* rgb */ color: rgb(138, 80, 191);
/* oklch */ color: oklch(54.9% 0.171 305.6);
Tailwind
colors: {
  custom: {
    50: '#af84d3',
    500: '#8a50bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a50bf;
$custom-light: #af84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50bf",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 271.351,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.1709,
    "h": 305.6
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#8A50BF
secondary
#B4CD9D
accent
#D65291
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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