#8A50DE#8A50DE

#8A50DE is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.207 H 298.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A50DE
RGBrgb(138, 80, 222)
HSLhsl(265, 68%, 59%)
HSVhsv(265, 64%, 87%)
CMYKcmyk(37.8%, 64%, 0%, 12.9%)
CIE-LABlab(47.51, 53.01, -63.82)
CIE-LCHlch(47.51, 82.96, 309.71°)
OKLaboklab(57.05% 0.0981 -0.1817)
OKLCHoklch(57.05% 0.207 298.4)
XYZxyz(26.5314, 16.4142, 70.8635)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50DE #A4DE50
analogous
#505DDE #8A50DE #D150DE
triadic
#8A50DE #DE8A50 #50DE8A
tetradic
#8A50DE #DE505D #A4DE50 #50DED1
square
#8A50DE #DE505D #A4DE50 #50DED1
split-complementary
#8A50DE #DED150 #5DDE50
monochromatic
#4F1C97 #6926CB #8A50DE #AC83E8 #CFB7F1

Accessibility & contrast

On white

4.90
#8A50DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8A50DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50DE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50DE#FFFFFF#000000##FFFFFF
##8A50DE1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#767090
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a50de;
/* rgb */ color: rgb(138, 80, 222);
/* oklch */ color: oklch(57.1% 0.207 298.4);
Tailwind
colors: {
  custom: {
    50: '#b284e9',
    500: '#8a50de',
    950: '#000000',
  },
}
SCSS
$custom: #8a50de;
$custom-light: #b284e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50de",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 264.507,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.20655,
    "h": 298.4
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#8A50DE
secondary
#CAE1A9
accent
#EB3DA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A50DE

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

Preview Lab → · Contrast checker → · Palette generator →

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