#8A50E6#8A50E6

#8A50E6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.216 H 296.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A50E6
RGBrgb(138, 80, 230)
HSLhsl(263, 75%, 61%)
HSVhsv(263, 65%, 90%)
CMYKcmyk(40%, 65.2%, 0%, 9.8%)
CIE-LABlab(48.07, 55.03, -67.44)
CIE-LCHlch(48.07, 87.04, 309.22°)
OKLaboklab(57.63% 0.0973 -0.1924)
OKLCHoklch(57.63% 0.216 296.8)
XYZxyz(27.6291, 16.8533, 76.6449)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50E6 #ACE650
analogous
#5061E6 #8A50E6 #D550E6
triadic
#8A50E6 #E68A50 #50E68A
tetradic
#8A50E6 #E65061 #ACE650 #50E6D5
square
#8A50E6 #E65061 #ACE650 #50E6D5
split-complementary
#8A50E6 #E6D550 #61E650
monochromatic
#4E17A4 #671FDA #8A50E6 #AE86EE #D2BBF5

Accessibility & contrast

On white

4.80
#8A50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8A50E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50E6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50E6#FFFFFF#000000##FFFFFF
##8A50E61.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#737394
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a50e6;
/* rgb */ color: rgb(138, 80, 230);
/* oklch */ color: oklch(57.6% 0.216 296.8);
Tailwind
colors: {
  custom: {
    50: '#b284ef',
    500: '#8a50e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a50e6;
$custom-light: #b284ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50e6",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 263.2,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57633,
    "c": 0.2156,
    "h": 296.8
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#8A50E6
secondary
#CFE5AC
accent
#D70E8A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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