#8A50CF#8A50CF

#8A50CF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.189 H 301.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A50CF
RGBrgb(138, 80, 207)
HSLhsl(267, 57%, 56%)
HSVhsv(267, 61%, 81%)
CMYKcmyk(33.3%, 61.4%, 0%, 18.8%)
CIE-LABlab(46.51, 49.26, -56.87)
CIE-LCHlch(46.51, 75.24, 310.90°)
OKLaboklab(56% 0.0992 -0.1613)
OKLCHoklch(56% 0.189 301.6)
XYZxyz(24.6097, 15.6455, 60.7427)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50CF #95CF50
analogous
#5056CF #8A50CF #CA50CF
triadic
#8A50CF #CF8A50 #50CF8A
tetradic
#8A50CF #CF5056 #95CF50 #50CFCA
square
#8A50CF #CF5056 #95CF50 #50CFCA
split-complementary
#8A50CF #CFCA50 #56CF50
monochromatic
#4E2381 #6B31B1 #8A50CF #AA80DC #CAB0E9

Accessibility & contrast

On white

5.09
#8A50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8A50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50CF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50CF#FFFFFF#000000##FFFFFF
##8A50CF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#276ECC
Tritanopia (blue-blind)
#7C6B88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a50cf;
/* rgb */ color: rgb(138, 80, 207);
/* oklch */ color: oklch(56.0% 0.189 301.6);
Tailwind
colors: {
  custom: {
    50: '#b184de',
    500: '#8a50cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a50cf;
$custom-light: #b184de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50cf",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 267.402,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.18939,
    "h": 301.6
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#8A50CF
secondary
#C0D8A3
accent
#E0489B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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