#8A50E7#8A50E7

#8A50E7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.217 H 296.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A50E7
RGBrgb(138, 80, 231)
HSLhsl(263, 76%, 61%)
HSVhsv(263, 65%, 91%)
CMYKcmyk(40.3%, 65.4%, 0%, 9.4%)
CIE-LABlab(48.15, 55.29, -67.89)
CIE-LCHlch(48.15, 87.55, 309.16°)
OKLaboklab(57.71% 0.0972 -0.1937)
OKLCHoklch(57.71% 0.217 296.6)
XYZxyz(27.7699, 16.9096, 77.3866)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50E7 #ADE750
analogous
#5061E7 #8A50E7 #D550E7
triadic
#8A50E7 #E78A50 #50E78A
tetradic
#8A50E7 #E75061 #ADE750 #50E7D5
square
#8A50E7 #E75061 #ADE750 #50E7D5
split-complementary
#8A50E7 #E7D550 #61E750
monochromatic
#4E17A6 #671EDC #8A50E7 #AE86EE #D2BCF6

Accessibility & contrast

On white

4.79
#8A50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8A50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50E7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50E7#FFFFFF#000000##FFFFFF
##8A50E71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#737395
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a50e7;
/* rgb */ color: rgb(138, 80, 231);
/* oklch */ color: oklch(57.7% 0.217 296.6);
Tailwind
colors: {
  custom: {
    50: '#b385f0',
    500: '#8a50e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a50e7;
$custom-light: #b385f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50e7",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 263.046,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.21673,
    "h": 296.6
  },
  "luminance": 0.1691
}

Semantic roles & 50–950 ramp

primary
#8A50E7
secondary
#D0E6AD
accent
#D80D8A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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