#8A50DF#8A50DF

#8A50DF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.208 H 298.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A50DF
RGBrgb(138, 80, 223)
HSLhsl(264, 69%, 59%)
HSVhsv(264, 64%, 87%)
CMYKcmyk(38.1%, 64.1%, 0%, 12.5%)
CIE-LABlab(47.58, 53.26, -64.27)
CIE-LCHlch(47.58, 83.47, 309.65°)
OKLaboklab(57.12% 0.098 -0.1831)
OKLCHoklch(57.12% 0.208 298.2)
XYZxyz(26.6658, 16.4679, 71.5715)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50DF #A5DF50
analogous
#505EDF #8A50DF #D250DF
triadic
#8A50DF #DF8A50 #50DF8A
tetradic
#8A50DF #DF505E #A5DF50 #50DFD2
square
#8A50DF #DF505E #A5DF50 #50DFD2
split-complementary
#8A50DF #DFD250 #5EDF50
monochromatic
#4F1C99 #6925CC #8A50DF #AD84E8 #CFB7F2

Accessibility & contrast

On white

4.89
#8A50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8A50DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A50DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50DF#FFFFFF#000000##FFFFFF
##8A50DF1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#767190
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a50df;
/* rgb */ color: rgb(138, 80, 223);
/* oklch */ color: oklch(57.1% 0.208 298.2);
Tailwind
colors: {
  custom: {
    50: '#b284ea',
    500: '#8a50df',
    950: '#000000',
  },
}
SCSS
$custom: #8a50df;
$custom-light: #b284ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50df",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 264.336,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.20769,
    "h": 298.2
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#8A50DF
secondary
#CBE1AA
accent
#EC3CA5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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