#8A50E0#8A50E0

#8A50E0 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.209 H 298.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A50E0
RGBrgb(138, 80, 224)
HSLhsl(264, 70%, 60%)
HSVhsv(264, 64%, 88%)
CMYKcmyk(38.4%, 64.3%, 0%, 12.2%)
CIE-LABlab(47.65, 53.51, -64.73)
CIE-LCHlch(47.65, 83.98, 309.58°)
OKLaboklab(57.19% 0.0979 -0.1844)
OKLCHoklch(57.19% 0.209 298)
XYZxyz(26.8010, 16.5220, 72.2836)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50E0 #A6E050
analogous
#505EE0 #8A50E0 #D250E0
triadic
#8A50E0 #E08A50 #50E08A
tetradic
#8A50E0 #E0505E #A6E050 #50E0D2
square
#8A50E0 #E0505E #A6E050 #50E0D2
split-complementary
#8A50E0 #E0D250 #5EE050
monochromatic
#4E1B9A #6925CE #8A50E0 #AD84E9 #D0B8F2

Accessibility & contrast

On white

4.88
#8A50E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8A50E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50E0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50E0#FFFFFF#000000##FFFFFF
##8A50E01.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#767191
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a50e0;
/* rgb */ color: rgb(138, 80, 224);
/* oklch */ color: oklch(57.2% 0.209 298.0);
Tailwind
colors: {
  custom: {
    50: '#b284eb',
    500: '#8a50e0',
    950: '#000000',
  },
}
SCSS
$custom: #8a50e0;
$custom-light: #b284eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50e0",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 224
  },
  "hsl": {
    "h": 264.167,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.20881,
    "h": 298
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#8A50E0
secondary
#CBE2AA
accent
#ED3BA5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A50E0

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

Preview Lab → · Contrast checker → · Palette generator →

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