#8A50CD#8A50CD

#8A50CD is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.9% C 0.187 H 302.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A50CD
RGBrgb(138, 80, 205)
HSLhsl(268, 56%, 56%)
HSVhsv(268, 61%, 80%)
CMYKcmyk(32.7%, 61%, 0%, 19.6%)
CIE-LABlab(46.38, 48.77, -55.93)
CIE-LCHlch(46.38, 74.21, 311.09°)
OKLaboklab(55.87% 0.0993 -0.1586)
OKLCHoklch(55.87% 0.187 302)
XYZxyz(24.3668, 15.5483, 59.4632)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50CD #93CD50
analogous
#5054CD #8A50CD #C950CD
triadic
#8A50CD #CD8A50 #50CD8A
tetradic
#8A50CD #CD5054 #93CD50 #50CDC9
square
#8A50CD #CD5054 #93CD50 #50CDC9
split-complementary
#8A50CD #CDC950 #54CD50
monochromatic
#4E247E #6B32AE #8A50CD #AA80DB #CAAFE8

Accessibility & contrast

On white

5.11
#8A50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8A50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50CD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50CD#FFFFFF#000000##FFFFFF
##8A50CD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#2A6DCA
Tritanopia (blue-blind)
#7D6A87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a50cd;
/* rgb */ color: rgb(138, 80, 205);
/* oklch */ color: oklch(55.9% 0.187 302.0);
Tailwind
colors: {
  custom: {
    50: '#b084dd',
    500: '#8a50cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a50cd;
$custom-light: #b084dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50cd",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 267.84,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.18709,
    "h": 302
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#8A50CD
secondary
#BED6A2
accent
#DF4999
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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