#8A4BC4#8A4BC4

#8A4BC4 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.184 H 305.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A4BC4
RGBrgb(138, 75, 196)
HSLhsl(271, 51%, 53%)
HSVhsv(271, 62%, 77%)
CMYKcmyk(29.6%, 61.7%, 0%, 23.1%)
CIE-LABlab(44.83, 49.19, -53.22)
CIE-LCHlch(44.83, 72.47, 312.75°)
OKLaboklab(54.56% 0.1056 -0.1506)
OKLCHoklch(54.56% 0.184 305)
XYZxyz(22.9589, 14.4211, 53.7879)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BC4 #85C44B
analogous
#4D4BC4 #8A4BC4 #C44BC1
triadic
#8A4BC4 #C48A4B #4BC48A
tetradic
#8A4BC4 #C44D4B #85C44B #4BC1C4
square
#8A4BC4 #C44D4B #85C44B #4BC1C4
split-complementary
#8A4BC4 #C1C44B #4BC44D
monochromatic
#4C2570 #6B349E #8A4BC4 #A879D3 #C6A7E2

Accessibility & contrast

On white

5.41
#8A4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8A4BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BC4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BC4#FFFFFF#000000##FFFFFF
##8A4BC41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#2F6AC1
Tritanopia (blue-blind)
#806480
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a4bc4;
/* rgb */ color: rgb(138, 75, 196);
/* oklch */ color: oklch(54.6% 0.184 305.0);
Tailwind
colors: {
  custom: {
    50: '#b081d6',
    500: '#8a4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bc4;
$custom-light: #b081d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bc4",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 271.24,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.18395,
    "h": 305
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#8A4BC4
secondary
#B4CF9B
accent
#DA4E91
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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