#8A50CB#8A50CB

#8A50CB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.185 H 302.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A50CB
RGBrgb(138, 80, 203)
HSLhsl(268, 54%, 55%)
HSVhsv(268, 61%, 80%)
CMYKcmyk(32%, 60.6%, 0%, 20.4%)
CIE-LABlab(46.25, 48.28, -54.99)
CIE-LCHlch(46.25, 73.17, 311.28°)
OKLaboklab(55.73% 0.0993 -0.1558)
OKLCHoklch(55.73% 0.185 302.5)
XYZxyz(24.1269, 15.4524, 58.1999)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50CB #91CB50
analogous
#5053CB #8A50CB #C850CB
triadic
#8A50CB #CB8A50 #50CB8A
tetradic
#8A50CB #CB5053 #91CB50 #50CBC8
square
#8A50CB #CB5053 #91CB50 #50CBC8
split-complementary
#8A50CB #CBC850 #53CB50
monochromatic
#4E257C #6B33AB #8A50CB #AA7FD9 #C9AEE7

Accessibility & contrast

On white

5.13
#8A50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8A50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50CB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50CB#FFFFFF#000000##FFFFFF
##8A50CB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036CCF
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#7D6A86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a50cb;
/* rgb */ color: rgb(138, 80, 203);
/* oklch */ color: oklch(55.7% 0.185 302.5);
Tailwind
colors: {
  custom: {
    50: '#b084db',
    500: '#8a50cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a50cb;
$custom-light: #b084db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50cb",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 268.293,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.18478,
    "h": 302.5
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#8A50CB
secondary
#BDD5A2
accent
#DE4A98
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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