#8A50C9#8A50C9

#8A50C9 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.182 H 303.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8A50C9
RGBrgb(138, 80, 201)
HSLhsl(269, 53%, 55%)
HSVhsv(269, 60%, 79%)
CMYKcmyk(31.3%, 60.2%, 0%, 21.2%)
CIE-LABlab(46.12, 47.79, -54.04)
CIE-LCHlch(46.12, 72.14, 311.49°)
OKLaboklab(55.6% 0.0994 -0.153)
OKLCHoklch(55.6% 0.182 303)
XYZxyz(23.8901, 15.3577, 56.9527)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50C9 #8FC950
analogous
#5053C9 #8A50C9 #C650C9
triadic
#8A50C9 #C98A50 #50C98A
tetradic
#8A50C9 #C95053 #8FC950 #50C9C6
square
#8A50C9 #C95053 #8FC950 #50C9C6
split-complementary
#8A50C9 #C9C650 #53C950
monochromatic
#4E2579 #6B34A8 #8A50C9 #A97FD7 #C9AEE6

Accessibility & contrast

On white

5.16
#8A50C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8A50C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50C9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50C9#FFFFFF#000000##FFFFFF
##8A50C91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6CCD
Deuteranopia (green-blind)
#306DC6
Tritanopia (blue-blind)
#7E6985
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a50c9;
/* rgb */ color: rgb(138, 80, 201);
/* oklch */ color: oklch(55.6% 0.182 303.0);
Tailwind
colors: {
  custom: {
    50: '#b084da',
    500: '#8a50c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a50c9;
$custom-light: #b084da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50c9",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 201
  },
  "hsl": {
    "h": 268.76,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.18248,
    "h": 303
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#8A50C9
secondary
#BBD4A1
accent
#DC4C97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50C9

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

Preview Lab → · Contrast checker → · Palette generator →

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