#8A4BCD#8A4BCD

#8A4BCD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.194 H 302.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A4BCD
RGBrgb(138, 75, 205)
HSLhsl(269, 57%, 55%)
HSVhsv(269, 63%, 80%)
CMYKcmyk(32.7%, 63.4%, 0%, 19.6%)
CIE-LABlab(45.42, 51.36, -57.48)
CIE-LCHlch(45.42, 77.08, 311.78°)
OKLaboklab(55.17% 0.1051 -0.1631)
OKLCHoklch(55.17% 0.194 302.8)
XYZxyz(24.0142, 14.8432, 59.3457)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BCD #8ECD4B
analogous
#4B4DCD #8A4BCD #CB4BCD
triadic
#8A4BCD #CD8A4B #4BCD8A
tetradic
#8A4BCD #CD4B4D #8ECD4B #4BCDCB
square
#8A4BCD #CD4B4D #8ECD4B #4BCDCB
split-complementary
#8A4BCD #CDCB4B #4DCD4B
monochromatic
#4D227B #6B30AB #8A4BCD #A97BDA #C8ABE8

Accessibility & contrast

On white

5.29
#8A4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8A4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BCD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BCD#FFFFFF#000000##FFFFFF
##8A4BCD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#7D6785
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4bcd;
/* rgb */ color: rgb(138, 75, 205);
/* oklch */ color: oklch(55.2% 0.194 302.8);
Tailwind
colors: {
  custom: {
    50: '#b181dd',
    500: '#8a4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bcd;
$custom-light: #b181dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bcd",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 269.077,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55172,
    "c": 0.19403,
    "h": 302.8
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#8A4BCD
secondary
#BBD59F
accent
#E04896
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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