#8A4BBE#8A4BBE

#8A4BBE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.177 H 306.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A4BBE
RGBrgb(138, 75, 190)
HSLhsl(273, 47%, 52%)
HSVhsv(273, 61%, 75%)
CMYKcmyk(27.4%, 60.5%, 0%, 25.5%)
CIE-LABlab(44.45, 47.77, -50.34)
CIE-LCHlch(44.45, 69.40, 313.50°)
OKLaboklab(54.16% 0.1058 -0.1421)
OKLCHoklch(54.16% 0.177 306.7)
XYZxyz(22.2896, 14.1534, 50.2628)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BBE #7FBE4B
analogous
#514BBE #8A4BBE #BE4BB8
triadic
#8A4BBE #BE8A4B #4BBE8A
tetradic
#8A4BBE #BE514B #7FBE4B #4BB8BE
square
#8A4BBE #BE514B #7FBE4B #4BB8BE
split-complementary
#8A4BBE #B8BE4B #4BBE51
monochromatic
#4B2669 #6A3696 #8A4BBE #A778CE #C4A5DE

Accessibility & contrast

On white

5.48
#8A4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8A4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BBE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BBE#FFFFFF#000000##FFFFFF
##8A4BBE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#366ABB
Tritanopia (blue-blind)
#82627D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4bbe;
/* rgb */ color: rgb(138, 75, 190);
/* oklch */ color: oklch(54.2% 0.177 306.7);
Tailwind
colors: {
  custom: {
    50: '#b080d2',
    500: '#8a4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bbe;
$custom-light: #b080d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bbe",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 272.87,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54162,
    "c": 0.1772,
    "h": 306.7
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#8A4BBE
secondary
#B0CC99
accent
#D7518E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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