#8A4BD3#8A4BD3

#8A4BD3 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.201 H 301.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A4BD3
RGBrgb(138, 75, 211)
HSLhsl(268, 61%, 56%)
HSVhsv(268, 64%, 83%)
CMYKcmyk(34.6%, 64.5%, 0%, 17.3%)
CIE-LABlab(45.82, 52.82, -60.27)
CIE-LCHlch(45.82, 80.14, 311.23°)
OKLaboklab(55.59% 0.1046 -0.1713)
OKLCHoklch(55.59% 0.201 301.4)
XYZxyz(24.7524, 15.1385, 63.2334)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BD3 #94D34B
analogous
#4B50D3 #8A4BD3 #CE4BD3
triadic
#8A4BD3 #D38A4B #4BD38A
tetradic
#8A4BD3 #D34B50 #94D34B #4BD3CE
square
#8A4BD3 #D34B50 #94D34B #4BD3CE
split-complementary
#8A4BD3 #D3CE4B #50D34B
monochromatic
#4E2083 #6B2CB5 #8A4BD3 #AA7CDF #CAADEB

Accessibility & contrast

On white

5.21
#8A4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8A4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BD3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BD3#FFFFFF#000000##FFFFFF
##8A4BD31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#116CD0
Tritanopia (blue-blind)
#7B6988
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4bd3;
/* rgb */ color: rgb(138, 75, 211);
/* oklch */ color: oklch(55.6% 0.201 301.4);
Tailwind
colors: {
  custom: {
    50: '#b181e1',
    500: '#8a4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bd3;
$custom-light: #b181e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bd3",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 267.794,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55592,
    "c": 0.20074,
    "h": 301.4
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#8A4BD3
secondary
#BFD9A1
accent
#E4449A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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