#8A50D8#8A50D8

#8A50D8 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.200 H 299.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A50D8
RGBrgb(138, 80, 216)
HSLhsl(266, 64%, 58%)
HSVhsv(266, 63%, 85%)
CMYKcmyk(36.1%, 63%, 0%, 15.3%)
CIE-LABlab(47.10, 51.50, -61.06)
CIE-LCHlch(47.10, 79.88, 310.14°)
OKLaboklab(56.63% 0.0986 -0.1736)
OKLCHoklch(56.63% 0.2 299.6)
XYZxyz(25.7415, 16.0982, 66.7035)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50D8 #9ED850
analogous
#505AD8 #8A50D8 #CE50D8
triadic
#8A50D8 #D88A50 #50D88A
tetradic
#8A50D8 #D8505A #9ED850 #50D8CE
square
#8A50D8 #D8505A #9ED850 #50D8CE
split-complementary
#8A50D8 #D8CE50 #5AD850
monochromatic
#4F208E #6A2BC0 #8A50D8 #AB82E3 #CDB4EE

Accessibility & contrast

On white

4.98
#8A50D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8A50D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50D8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50D8#FFFFFF#000000##FFFFFF
##8A50D81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#126FD5
Tritanopia (blue-blind)
#796E8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a50d8;
/* rgb */ color: rgb(138, 80, 216);
/* oklch */ color: oklch(56.6% 0.200 299.6);
Tailwind
colors: {
  custom: {
    50: '#b184e5',
    500: '#8a50d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a50d8;
$custom-light: #b184e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50d8",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 265.588,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.19971,
    "h": 299.6
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#8A50D8
secondary
#C6DDA7
accent
#E741A0
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A50D8

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

Preview Lab → · Contrast checker → · Palette generator →

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