#8A50DA#8A50DA

#8A50DA is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.202 H 299.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A50DA
RGBrgb(138, 80, 218)
HSLhsl(265, 65%, 58%)
HSVhsv(265, 63%, 85%)
CMYKcmyk(36.7%, 63.3%, 0%, 14.5%)
CIE-LABlab(47.24, 52.00, -61.98)
CIE-LCHlch(47.24, 80.91, 309.99°)
OKLaboklab(56.77% 0.0985 -0.1764)
OKLCHoklch(56.77% 0.202 299.2)
XYZxyz(26.0016, 16.2023, 68.0735)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50DA #A0DA50
analogous
#505BDA #8A50DA #CF50DA
triadic
#8A50DA #DA8A50 #50DA8A
tetradic
#8A50DA #DA505B #A0DA50 #50DACF
square
#8A50DA #DA505B #A0DA50 #50DACF
split-complementary
#8A50DA #DACF50 #5BDA50
monochromatic
#4F1F91 #6A29C3 #8A50DA #AC83E5 #CEB5EF

Accessibility & contrast

On white

4.95
#8A50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8A50DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50DA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50DA#FFFFFF#000000##FFFFFF
##8A50DA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#086FD7
Tritanopia (blue-blind)
#786F8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a50da;
/* rgb */ color: rgb(138, 80, 218);
/* oklch */ color: oklch(56.8% 0.202 299.2);
Tailwind
colors: {
  custom: {
    50: '#b184e6',
    500: '#8a50da',
    950: '#000000',
  },
}
SCSS
$custom: #8a50da;
$custom-light: #b184e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50da",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 265.217,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.20199,
    "h": 299.2
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#8A50DA
secondary
#C7DEA8
accent
#E840A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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