#8A50D3#8A50D3

#8A50D3 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.3% C 0.194 H 300.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8A50D3
RGBrgb(138, 80, 211)
HSLhsl(267, 60%, 57%)
HSVhsv(267, 62%, 83%)
CMYKcmyk(34.6%, 62.1%, 0%, 17.3%)
CIE-LABlab(46.77, 50.25, -58.74)
CIE-LCHlch(46.77, 77.31, 310.55°)
OKLaboklab(56.28% 0.099 -0.1668)
OKLCHoklch(56.28% 0.194 300.7)
XYZxyz(25.1049, 15.8436, 63.3509)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50D3 #99D350
analogous
#5058D3 #8A50D3 #CC50D3
triadic
#8A50D3 #D38A50 #50D38A
tetradic
#8A50D3 #D35058 #99D350 #50D3CC
square
#8A50D3 #D35058 #99D350 #50D3CC
split-complementary
#8A50D3 #D3CC50 #58D350
monochromatic
#4F2287 #6B2EB8 #8A50D3 #AB81DF #CBB2EC

Accessibility & contrast

On white

5.04
#8A50D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8A50D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50D3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50D3#FFFFFF#000000##FFFFFF
##8A50D31.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#1F6ED0
Tritanopia (blue-blind)
#7B6C8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a50d3;
/* rgb */ color: rgb(138, 80, 211);
/* oklch */ color: oklch(56.3% 0.194 300.7);
Tailwind
colors: {
  custom: {
    50: '#b184e1',
    500: '#8a50d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a50d3;
$custom-light: #b184e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50d3",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 266.565,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.19399,
    "h": 300.7
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#8A50D3
secondary
#C2DAA5
accent
#E3459D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A50D3

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

Preview Lab → · Contrast checker → · Palette generator →

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