#8A4BBD#8A4BBD

#8A4BBD is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.176 H 306.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A4BBD
RGBrgb(138, 75, 189)
HSLhsl(273, 46%, 52%)
HSVhsv(273, 60%, 74%)
CMYKcmyk(27%, 60.3%, 0%, 25.9%)
CIE-LABlab(44.39, 47.53, -49.86)
CIE-LCHlch(44.39, 68.89, 313.63°)
OKLaboklab(54.1% 0.1058 -0.1407)
OKLCHoklch(54.1% 0.176 306.9)
XYZxyz(22.1807, 14.1098, 49.6892)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BBD #7EBD4B
analogous
#514BBD #8A4BBD #BD4BB7
triadic
#8A4BBD #BD8A4B #4BBD8A
tetradic
#8A4BBD #BD514B #7EBD4B #4BB7BD
square
#8A4BBD #BD514B #7EBD4B #4BB7BD
split-complementary
#8A4BBD #B7BD4B #4BBD51
monochromatic
#4A2668 #6A3694 #8A4BBD #A778CD #C4A5DE

Accessibility & contrast

On white

5.49
#8A4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8A4BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BBD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BBD#FFFFFF#000000##FFFFFF
##8A4BBD1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#82617D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4bbd;
/* rgb */ color: rgb(138, 75, 189);
/* oklch */ color: oklch(54.1% 0.176 306.9);
Tailwind
colors: {
  custom: {
    50: '#b080d1',
    500: '#8a4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bbd;
$custom-light: #b080d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bbd",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 273.158,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.17607,
    "h": 306.9
  },
  "luminance": 0.1411
}

Semantic roles & 50–950 ramp

primary
#8A4BBD
secondary
#AFCB99
accent
#D6528D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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