#8A50BC#8A50BC

#8A50BC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.167 H 306.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A50BC
RGBrgb(138, 80, 188)
HSLhsl(272, 45%, 53%)
HSVhsv(272, 57%, 74%)
CMYKcmyk(26.6%, 57.4%, 0%, 26.3%)
CIE-LABlab(45.32, 44.65, -47.79)
CIE-LCHlch(45.32, 65.40, 313.06°)
OKLaboklab(54.76% 0.0995 -0.1347)
OKLCHoklch(54.76% 0.167 306.4)
XYZxyz(22.4251, 14.7716, 49.2370)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50BC #82BC50
analogous
#5450BC #8A50BC #BC50B8
triadic
#8A50BC #BC8A50 #50BC8A
tetradic
#8A50BC #BC5450 #82BC50 #50B8BC
square
#8A50BC #BC5450 #82BC50 #50B8BC
split-complementary
#8A50BC #B8BC50 #50BC54
monochromatic
#4B2869 #6B3996 #8A50BC #A87CCD #C5A9DE

Accessibility & contrast

On white

5.31
#8A50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8A50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50BC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50BC#FFFFFF#000000##FFFFFF
##8A50BC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769C0
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#82657E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a50bc;
/* rgb */ color: rgb(138, 80, 188);
/* oklch */ color: oklch(54.8% 0.167 306.4);
Tailwind
colors: {
  custom: {
    50: '#af83d1',
    500: '#8a50bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a50bc;
$custom-light: #af83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50bc",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 272.222,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.16742,
    "h": 306.4
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#8A50BC
secondary
#B2CB9C
accent
#D4538F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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