#8A50CE#8A50CE

#8A50CE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.188 H 301.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A50CE
RGBrgb(138, 80, 206)
HSLhsl(268, 56%, 56%)
HSVhsv(268, 61%, 81%)
CMYKcmyk(33%, 61.2%, 0%, 19.2%)
CIE-LABlab(46.44, 49.01, -56.40)
CIE-LCHlch(46.44, 74.72, 310.99°)
OKLaboklab(55.93% 0.0992 -0.16)
OKLCHoklch(55.93% 0.188 301.8)
XYZxyz(24.4879, 15.5968, 60.1009)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50CE #94CE50
analogous
#5055CE #8A50CE #C950CE
triadic
#8A50CE #CE8A50 #50CE8A
tetradic
#8A50CE #CE5055 #94CE50 #50CEC9
square
#8A50CE #CE5055 #94CE50 #50CEC9
split-complementary
#8A50CE #CEC950 #55CE50
monochromatic
#4E2480 #6B31B0 #8A50CE #AA80DB #CAB0E9

Accessibility & contrast

On white

5.10
#8A50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8A50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50CE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50CE#FFFFFF#000000##FFFFFF
##8A50CE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#7C6B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a50ce;
/* rgb */ color: rgb(138, 80, 206);
/* oklch */ color: oklch(55.9% 0.188 301.8);
Tailwind
colors: {
  custom: {
    50: '#b084de',
    500: '#8a50ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a50ce;
$custom-light: #b084de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50ce",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 267.619,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.18824,
    "h": 301.8
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#8A50CE
secondary
#BFD7A3
accent
#E0489A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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