#8A4BC1#8A4BC1

#8A4BC1 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.181 H 305.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A4BC1
RGBrgb(138, 75, 193)
HSLhsl(272, 49%, 53%)
HSVhsv(272, 61%, 76%)
CMYKcmyk(28.5%, 61.1%, 0%, 24.3%)
CIE-LABlab(44.64, 48.48, -51.79)
CIE-LCHlch(44.64, 70.93, 313.11°)
OKLaboklab(54.36% 0.1057 -0.1464)
OKLCHoklch(54.36% 0.181 305.8)
XYZxyz(22.6209, 14.2859, 52.0075)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BC1 #82C14B
analogous
#4F4BC1 #8A4BC1 #C14BBD
triadic
#8A4BC1 #C18A4B #4BC18A
tetradic
#8A4BC1 #C14F4B #82C14B #4BBDC1
square
#8A4BC1 #C14F4B #82C14B #4BBDC1
split-complementary
#8A4BC1 #BDC14B #4BC14F
monochromatic
#4B256C #6B359A #8A4BC1 #A879D1 #C5A6E0

Accessibility & contrast

On white

5.44
#8A4BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8A4BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BC1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BC1#FFFFFF#000000##FFFFFF
##8A4BC11.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C68C5
Deuteranopia (green-blind)
#326ABE
Tritanopia (blue-blind)
#81637F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a4bc1;
/* rgb */ color: rgb(138, 75, 193);
/* oklch */ color: oklch(54.4% 0.181 305.8);
Tailwind
colors: {
  custom: {
    50: '#b080d4',
    500: '#8a4bc1',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bc1;
$custom-light: #b080d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bc1",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 272.034,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.18057,
    "h": 305.8
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#8A4BC1
secondary
#B2CE9A
accent
#D84F8F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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