#8A50D1#8A50D1

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

Color values

HEX#8A50D1
RGBrgb(138, 80, 209)
HSLhsl(267, 58%, 57%)
HSVhsv(267, 62%, 82%)
CMYKcmyk(34%, 61.7%, 0%, 18%)
CIE-LABlab(46.64, 49.76, -57.81)
CIE-LCHlch(46.64, 76.27, 310.72°)
OKLaboklab(56.14% 0.0991 -0.1641)
OKLCHoklch(56.14% 0.192 301.1)
XYZxyz(24.8558, 15.7439, 62.0386)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50D1 #97D150
analogous
#5057D1 #8A50D1 #CB50D1
triadic
#8A50D1 #D18A50 #50D18A
tetradic
#8A50D1 #D15057 #97D150 #50D1CB
square
#8A50D1 #D15057 #97D150 #50D1CB
split-complementary
#8A50D1 #D1CB50 #57D150
monochromatic
#4E2384 #6B2FB4 #8A50D1 #AA80DE #CBB1EA

Accessibility & contrast

On white

5.06
#8A50D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8A50D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50D1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50D1#FFFFFF#000000##FFFFFF
##8A50D11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#236ECE
Tritanopia (blue-blind)
#7B6C89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a50d1;
/* rgb */ color: rgb(138, 80, 209);
/* oklch */ color: oklch(56.1% 0.192 301.1);
Tailwind
colors: {
  custom: {
    50: '#b184e0',
    500: '#8a50d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a50d1;
$custom-light: #b184e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50d1",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 209
  },
  "hsl": {
    "h": 266.977,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.19168,
    "h": 301.1
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#8A50D1
secondary
#C1D9A4
accent
#E2469C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50D1

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

Preview Lab → · Contrast checker → · Palette generator →

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