#8A4BCE#8A4BCE

#8A4BCE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.195 H 302.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A4BCE
RGBrgb(138, 75, 206)
HSLhsl(269, 57%, 55%)
HSVhsv(269, 64%, 81%)
CMYKcmyk(33%, 63.6%, 0%, 19.2%)
CIE-LABlab(45.49, 51.60, -57.94)
CIE-LCHlch(45.49, 77.59, 311.69°)
OKLaboklab(55.24% 0.1051 -0.1645)
OKLCHoklch(55.24% 0.195 302.6)
XYZxyz(24.1353, 14.8916, 59.9834)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BCE #8FCE4B
analogous
#4B4ECE #8A4BCE #CB4BCE
triadic
#8A4BCE #CE8A4B #4BCE8A
tetradic
#8A4BCE #CE4B4E #8FCE4B #4BCECB
square
#8A4BCE #CE4B4E #8FCE4B #4BCECB
split-complementary
#8A4BCE #CECB4B #4ECE4B
monochromatic
#4E227D #6C2FAD #8A4BCE #A97BDB #C9ABE8

Accessibility & contrast

On white

5.28
#8A4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8A4BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BCE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BCE#FFFFFF#000000##FFFFFF
##8A4BCE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#1E6BCB
Tritanopia (blue-blind)
#7D6786
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4bce;
/* rgb */ color: rgb(138, 75, 206);
/* oklch */ color: oklch(55.2% 0.195 302.6);
Tailwind
colors: {
  custom: {
    50: '#b181de',
    500: '#8a4bce',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bce;
$custom-light: #b181de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bce",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 268.855,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.19516,
    "h": 302.6
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#8A4BCE
secondary
#BBD69F
accent
#E04797
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A4BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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