#8A50D9#8A50D9

#8A50D9 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.201 H 299.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A50D9
RGBrgb(138, 80, 217)
HSLhsl(265, 64%, 58%)
HSVhsv(265, 63%, 85%)
CMYKcmyk(36.4%, 63.1%, 0%, 14.9%)
CIE-LABlab(47.17, 51.75, -61.52)
CIE-LCHlch(47.17, 80.39, 310.07°)
OKLaboklab(56.69% 0.0986 -0.175)
OKLCHoklch(56.69% 0.201 299.4)
XYZxyz(25.8712, 16.1501, 67.3864)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50D9 #9FD950
analogous
#505BD9 #8A50D9 #CE50D9
triadic
#8A50D9 #D98A50 #50D98A
tetradic
#8A50D9 #D9505B #9FD950 #50D9CE
square
#8A50D9 #D9505B #9FD950 #50D9CE
split-complementary
#8A50D9 #D9CE50 #5BD950
monochromatic
#4F1F8F #6A2AC2 #8A50D9 #AC82E4 #CDB5EF

Accessibility & contrast

On white

4.96
#8A50D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8A50D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50D9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50D9#FFFFFF#000000##FFFFFF
##8A50D91.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0E6FD6
Tritanopia (blue-blind)
#786E8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a50d9;
/* rgb */ color: rgb(138, 80, 217);
/* oklch */ color: oklch(56.7% 0.201 299.4);
Tailwind
colors: {
  custom: {
    50: '#b184e6',
    500: '#8a50d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a50d9;
$custom-light: #b184e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50d9",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 265.401,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.20085,
    "h": 299.4
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#8A50D9
secondary
#C7DEA7
accent
#E740A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A50D9

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

Preview Lab → · Contrast checker → · Palette generator →

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