#8A4DD6#8A4DD6

#8A4DD6 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.201 H 300.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A4DD6
RGBrgb(138, 77, 214)
HSLhsl(267, 63%, 57%)
HSVhsv(267, 64%, 84%)
CMYKcmyk(35.5%, 64%, 0%, 16.1%)
CIE-LABlab(46.40, 52.54, -61.06)
CIE-LCHlch(46.40, 80.55, 310.71°)
OKLaboklab(56.07% 0.1022 -0.1736)
OKLCHoklch(56.07% 0.201 300.5)
XYZxyz(25.2698, 15.5659, 65.2785)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DD6 #99D64D
analogous
#4D55D6 #8A4DD6 #CE4DD6
triadic
#8A4DD6 #D68A4D #4DD68A
tetradic
#8A4DD6 #D64D55 #99D64D #4DD6CE
square
#8A4DD6 #D64D55 #99D64D #4DD6CE
split-complementary
#8A4DD6 #D6CE4D #55D64D
monochromatic
#4F2089 #6B2BBB #8A4DD6 #AB7FE1 #CBB0ED

Accessibility & contrast

On white

5.11
#8A4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8A4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DD6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DD6#FFFFFF#000000##FFFFFF
##8A4DD61.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#0D6DD3
Tritanopia (blue-blind)
#7A6B8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a4dd6;
/* rgb */ color: rgb(138, 77, 214);
/* oklch */ color: oklch(56.1% 0.201 300.5);
Tailwind
colors: {
  custom: {
    50: '#b182e3',
    500: '#8a4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dd6;
$custom-light: #b182e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dd6",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 266.715,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56073,
    "c": 0.20145,
    "h": 300.5
  },
  "luminance": 0.15566
}

Semantic roles & 50–950 ramp

primary
#8A4DD6
secondary
#C2DBA4
accent
#E6429D
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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