#8A50D7#8A50D7

#8A50D7 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.199 H 299.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A50D7
RGBrgb(138, 80, 215)
HSLhsl(266, 63%, 58%)
HSVhsv(266, 63%, 84%)
CMYKcmyk(35.8%, 62.8%, 0%, 15.7%)
CIE-LABlab(47.04, 51.25, -60.60)
CIE-LCHlch(47.04, 79.37, 310.22°)
OKLaboklab(56.55% 0.0987 -0.1723)
OKLCHoklch(56.55% 0.199 299.8)
XYZxyz(25.6126, 16.0467, 66.0247)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50D7 #9DD750
analogous
#5059D7 #8A50D7 #CE50D7
triadic
#8A50D7 #D78A50 #50D78A
tetradic
#8A50D7 #D75059 #9DD750 #50D7CE
square
#8A50D7 #D75059 #9DD750 #50D7CE
split-complementary
#8A50D7 #D7CE50 #59D750
monochromatic
#4F208C #6B2BBE #8A50D7 #AB82E2 #CDB4EE

Accessibility & contrast

On white

4.99
#8A50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8A50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50D7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50D7#FFFFFF#000000##FFFFFF
##8A50D71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#156ED4
Tritanopia (blue-blind)
#796E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a50d7;
/* rgb */ color: rgb(138, 80, 215);
/* oklch */ color: oklch(56.6% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#b184e4',
    500: '#8a50d7',
    950: '#000000',
  },
}
SCSS
$custom: #8a50d7;
$custom-light: #b184e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50d7",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 265.778,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.19856,
    "h": 299.8
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#8A50D7
secondary
#C5DCA6
accent
#E6429F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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