#8A50DD#8A50DD

#8A50DD is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.205 H 298.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8A50DD
RGBrgb(138, 80, 221)
HSLhsl(265, 67%, 59%)
HSVhsv(265, 64%, 87%)
CMYKcmyk(37.6%, 63.8%, 0%, 13.3%)
CIE-LABlab(47.44, 52.76, -63.36)
CIE-LCHlch(47.44, 82.45, 309.78°)
OKLaboklab(56.98% 0.0982 -0.1804)
OKLCHoklch(56.98% 0.205 298.6)
XYZxyz(26.3978, 16.3607, 70.1598)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50DD #A3DD50
analogous
#505DDD #8A50DD #D150DD
triadic
#8A50DD #DD8A50 #50DD8A
tetradic
#8A50DD #DD505D #A3DD50 #50DDD1
square
#8A50DD #DD505D #A3DD50 #50DDD1
split-complementary
#8A50DD #DDD150 #5DDD50
monochromatic
#4F1D96 #6A27C9 #8A50DD #AC83E7 #CFB6F1

Accessibility & contrast

On white

4.92
#8A50DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8A50DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50DD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50DD#FFFFFF#000000##FFFFFF
##8A50DD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#77708F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a50dd;
/* rgb */ color: rgb(138, 80, 221);
/* oklch */ color: oklch(57.0% 0.205 298.6);
Tailwind
colors: {
  custom: {
    50: '#b284e8',
    500: '#8a50dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a50dd;
$custom-light: #b284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50dd",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 264.681,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56979,
    "c": 0.20541,
    "h": 298.6
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#8A50DD
secondary
#C9E0A9
accent
#EA3DA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A50DD

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

Preview Lab → · Contrast checker → · Palette generator →

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