#8A50CA#8A50CA

#8A50CA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.184 H 302.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A50CA
RGBrgb(138, 80, 202)
HSLhsl(269, 54%, 55%)
HSVhsv(269, 60%, 79%)
CMYKcmyk(31.7%, 60.4%, 0%, 20.8%)
CIE-LABlab(46.18, 48.03, -54.51)
CIE-LCHlch(46.18, 72.66, 311.38°)
OKLaboklab(55.66% 0.0994 -0.1544)
OKLCHoklch(55.66% 0.184 302.8)
XYZxyz(24.0081, 15.4049, 57.5743)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50CA #90CA50
analogous
#5053CA #8A50CA #C750CA
triadic
#8A50CA #CA8A50 #50CA8A
tetradic
#8A50CA #CA5053 #90CA50 #50CAC7
square
#8A50CA #CA5053 #90CA50 #50CAC7
split-complementary
#8A50CA #CAC750 #53CA50
monochromatic
#4E257A #6B33A9 #8A50CA #A97FD8 #C9AEE6

Accessibility & contrast

On white

5.15
#8A50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8A50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50CA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50CA#FFFFFF#000000##FFFFFF
##8A50CA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076CCE
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#7E6985
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a50ca;
/* rgb */ color: rgb(138, 80, 202);
/* oklch */ color: oklch(55.7% 0.184 302.8);
Tailwind
colors: {
  custom: {
    50: '#b084db',
    500: '#8a50ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a50ca;
$custom-light: #b084db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50ca",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 268.525,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.18363,
    "h": 302.8
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#8A50CA
secondary
#BCD4A1
accent
#DD4B97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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