#8A4BC0#8A4BC0

#8A4BC0 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.179 H 306.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A4BC0
RGBrgb(138, 75, 192)
HSLhsl(272, 48%, 52%)
HSVhsv(272, 61%, 75%)
CMYKcmyk(28.1%, 60.9%, 0%, 24.7%)
CIE-LABlab(44.58, 48.24, -51.31)
CIE-LCHlch(44.58, 70.42, 313.24°)
OKLaboklab(54.29% 0.1058 -0.145)
OKLCHoklch(54.29% 0.179 306.1)
XYZxyz(22.5097, 14.2414, 51.4220)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BC0 #81C04B
analogous
#504BC0 #8A4BC0 #C04BBB
triadic
#8A4BC0 #C08A4B #4BC08A
tetradic
#8A4BC0 #C0504B #81C04B #4BBBC0
square
#8A4BC0 #C0504B #81C04B #4BBBC0
split-complementary
#8A4BC0 #BBC04B #4BC050
monochromatic
#4B256B #6B3598 #8A4BC0 #A778D0 #C5A6E0

Accessibility & contrast

On white

5.46
#8A4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8A4BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BC0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BC0#FFFFFF#000000##FFFFFF
##8A4BC01.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C4
Deuteranopia (green-blind)
#346ABD
Tritanopia (blue-blind)
#81627E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4bc0;
/* rgb */ color: rgb(138, 75, 192);
/* oklch */ color: oklch(54.3% 0.179 306.1);
Tailwind
colors: {
  custom: {
    50: '#b080d4',
    500: '#8a4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bc0;
$custom-light: #b080d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bc0",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 272.308,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54293,
    "c": 0.17944,
    "h": 306.1
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#8A4BC0
secondary
#B1CD9A
accent
#D8508F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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