#8A4BC8#8A4BC8

#8A4BC8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.188 H 304.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A4BC8
RGBrgb(138, 75, 200)
HSLhsl(270, 53%, 54%)
HSVhsv(270, 63%, 78%)
CMYKcmyk(31%, 62.5%, 0%, 21.6%)
CIE-LABlab(45.09, 50.15, -55.12)
CIE-LCHlch(45.09, 74.52, 312.30°)
OKLaboklab(54.83% 0.1054 -0.1562)
OKLCHoklch(54.83% 0.188 304)
XYZxyz(23.4203, 14.6056, 56.2177)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BC8 #89C84B
analogous
#4C4BC8 #8A4BC8 #C84BC7
triadic
#8A4BC8 #C88A4B #4BC88A
tetradic
#8A4BC8 #C84C4B #89C84B #4BC7C8
square
#8A4BC8 #C84C4B #89C84B #4BC7C8
split-complementary
#8A4BC8 #C7C84B #4BC84C
monochromatic
#4D2475 #6B32A4 #8A4BC8 #A87AD6 #C7A9E5

Accessibility & contrast

On white

5.36
#8A4BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8A4BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BC8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BC8#FFFFFF#000000##FFFFFF
##8A4BC81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#296BC5
Tritanopia (blue-blind)
#7F6583
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4bc8;
/* rgb */ color: rgb(138, 75, 200);
/* oklch */ color: oklch(54.8% 0.188 304.0);
Tailwind
colors: {
  custom: {
    50: '#b081d9',
    500: '#8a4bc8',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bc8;
$custom-light: #b081d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bc8",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 270.24,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.18843,
    "h": 304
  },
  "luminance": 0.14606
}

Semantic roles & 50–950 ramp

primary
#8A4BC8
secondary
#B7D29D
accent
#DD4B93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A4BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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