#8A50C7#8A50C7

#8A50C7 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.180 H 303.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A50C7
RGBrgb(138, 80, 199)
HSLhsl(269, 52%, 55%)
HSVhsv(269, 60%, 78%)
CMYKcmyk(30.7%, 59.8%, 0%, 22%)
CIE-LABlab(45.99, 47.30, -53.09)
CIE-LCHlch(45.99, 71.10, 311.70°)
OKLaboklab(55.47% 0.0995 -0.1502)
OKLCHoklch(55.47% 0.18 303.5)
XYZxyz(23.6564, 15.2642, 55.7218)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50C7 #8DC750
analogous
#5052C7 #8A50C7 #C650C7
triadic
#8A50C7 #C78A50 #50C78A
tetradic
#8A50C7 #C75052 #8DC750 #50C7C6
square
#8A50C7 #C75052 #8DC750 #50C7C6
split-complementary
#8A50C7 #C7C650 #52C750
monochromatic
#4D2677 #6B35A5 #8A50C7 #A97ED6 #C8ADE5

Accessibility & contrast

On white

5.18
#8A50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8A50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50C7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50C7#FFFFFF#000000##FFFFFF
##8A50C71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126CCB
Deuteranopia (green-blind)
#326DC4
Tritanopia (blue-blind)
#7F6884
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a50c7;
/* rgb */ color: rgb(138, 80, 199);
/* oklch */ color: oklch(55.5% 0.180 303.5);
Tailwind
colors: {
  custom: {
    50: '#b084d9',
    500: '#8a50c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a50c7;
$custom-light: #b084d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50c7",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 269.244,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.18016,
    "h": 303.5
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#8A50C7
secondary
#BAD2A0
accent
#DB4D96
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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