#8A4DD3#8A4DD3

#8A4DD3 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.198 H 301.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A4DD3
RGBrgb(138, 77, 211)
HSLhsl(267, 60%, 56%)
HSVhsv(267, 64%, 83%)
CMYKcmyk(34.6%, 63.5%, 0%, 17.3%)
CIE-LABlab(46.20, 51.80, -59.67)
CIE-LCHlch(46.20, 79.02, 310.96°)
OKLaboklab(55.86% 0.1024 -0.1695)
OKLCHoklch(55.86% 0.198 301.1)
XYZxyz(24.8902, 15.4140, 63.2793)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DD3 #96D34D
analogous
#4D53D3 #8A4DD3 #CD4DD3
triadic
#8A4DD3 #D38A4D #4DD38A
tetradic
#8A4DD3 #D34D53 #96D34D #4DD3CD
square
#8A4DD3 #D34D53 #96D34D #4DD3CD
split-complementary
#8A4DD3 #D3CD4D #53D34D
monochromatic
#4E2185 #6B2DB6 #8A4DD3 #AA7EDF #CBAFEB

Accessibility & contrast

On white

5.14
#8A4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8A4DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DD3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DD3#FFFFFF#000000##FFFFFF
##8A4DD31.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#176DD0
Tritanopia (blue-blind)
#7B6A89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a4dd3;
/* rgb */ color: rgb(138, 77, 211);
/* oklch */ color: oklch(55.9% 0.198 301.1);
Tailwind
colors: {
  custom: {
    50: '#b182e1',
    500: '#8a4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dd3;
$custom-light: #b182e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dd3",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 267.313,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.19806,
    "h": 301.1
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#8A4DD3
secondary
#C0D9A2
accent
#E4449B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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