#8A4BBC#8A4BBC

#8A4BBC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.175 H 307.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A4BBC
RGBrgb(138, 75, 188)
HSLhsl(273, 46%, 52%)
HSVhsv(273, 60%, 74%)
CMYKcmyk(26.6%, 60.1%, 0%, 26.3%)
CIE-LABlab(44.33, 47.30, -49.38)
CIE-LCHlch(44.33, 68.37, 313.77°)
OKLaboklab(54.03% 0.1058 -0.1393)
OKLCHoklch(54.03% 0.175 307.2)
XYZxyz(22.0725, 14.0665, 49.1195)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BBC #7DBC4B
analogous
#524BBC #8A4BBC #BC4BB6
triadic
#8A4BBC #BC8A4B #4BBC8A
tetradic
#8A4BBC #BC524B #7DBC4B #4BB6BC
square
#8A4BBC #BC524B #7DBC4B #4BB6BC
split-complementary
#8A4BBC #B6BC4B #4BBC52
monochromatic
#4A2666 #6A3793 #8A4BBC #A778CD #C4A4DD

Accessibility & contrast

On white

5.51
#8A4BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8A4BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BBC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BBC#FFFFFF#000000##FFFFFF
##8A4BBC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C0
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#82617C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4bbc;
/* rgb */ color: rgb(138, 75, 188);
/* oklch */ color: oklch(54.0% 0.175 307.2);
Tailwind
colors: {
  custom: {
    50: '#af80d1',
    500: '#8a4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bbc;
$custom-light: #af80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bbc",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 273.451,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.17494,
    "h": 307.2
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#8A4BBC
secondary
#AFCA99
accent
#D5528C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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