#8A50D0#8A50D0

#8A50D0 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.191 H 301.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A50D0
RGBrgb(138, 80, 208)
HSLhsl(267, 58%, 56%)
HSVhsv(267, 62%, 82%)
CMYKcmyk(33.7%, 61.5%, 0%, 18.4%)
CIE-LABlab(46.57, 49.51, -57.34)
CIE-LCHlch(46.57, 75.76, 310.81°)
OKLaboklab(56.07% 0.0991 -0.1627)
OKLCHoklch(56.07% 0.191 301.4)
XYZxyz(24.7324, 15.6946, 61.3886)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50D0 #96D050
analogous
#5056D0 #8A50D0 #CA50D0
triadic
#8A50D0 #D08A50 #50D08A
tetradic
#8A50D0 #D05056 #96D050 #50D0CA
square
#8A50D0 #D05056 #96D050 #50D0CA
split-complementary
#8A50D0 #D0CA50 #56D050
monochromatic
#4E2383 #6B30B3 #8A50D0 #AA80DD #CBB0EA

Accessibility & contrast

On white

5.07
#8A50D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8A50D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50D0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50D0#FFFFFF#000000##FFFFFF
##8A50D01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#256ECD
Tritanopia (blue-blind)
#7C6B89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a50d0;
/* rgb */ color: rgb(138, 80, 208);
/* oklch */ color: oklch(56.1% 0.191 301.4);
Tailwind
colors: {
  custom: {
    50: '#b184df',
    500: '#8a50d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a50d0;
$custom-light: #b184df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50d0",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 208
  },
  "hsl": {
    "h": 267.188,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.19054,
    "h": 301.4
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#8A50D0
secondary
#C0D8A4
accent
#E1479B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50D0

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

Preview Lab → · Contrast checker → · Palette generator →

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