#8A4BD1#8A4BD1

#8A4BD1 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.5% C 0.199 H 301.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A4BD1
RGBrgb(138, 75, 209)
HSLhsl(268, 59%, 56%)
HSVhsv(268, 64%, 82%)
CMYKcmyk(34%, 64.1%, 0%, 18%)
CIE-LABlab(45.69, 52.33, -59.34)
CIE-LCHlch(45.69, 79.12, 311.41°)
OKLaboklab(55.45% 0.1048 -0.1686)
OKLCHoklch(55.45% 0.199 301.9)
XYZxyz(24.5032, 15.0388, 61.9211)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BD1 #92D14B
analogous
#4B4FD1 #8A4BD1 #CD4BD1
triadic
#8A4BD1 #D18A4B #4BD18A
tetradic
#8A4BD1 #D14B4F #92D14B #4BD1CD
square
#8A4BD1 #D14B4F #92D14B #4BD1CD
split-complementary
#8A4BD1 #D1CD4B #4FD14B
monochromatic
#4E2181 #6B2DB1 #8A4BD1 #AA7CDD #C9ACEA

Accessibility & contrast

On white

5.24
#8A4BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8A4BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BD1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BD1#FFFFFF#000000##FFFFFF
##8A4BD11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#176CCE
Tritanopia (blue-blind)
#7B6887
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4bd1;
/* rgb */ color: rgb(138, 75, 209);
/* oklch */ color: oklch(55.5% 0.199 301.9);
Tailwind
colors: {
  custom: {
    50: '#b181e0',
    500: '#8a4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bd1;
$custom-light: #b181e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bd1",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 268.209,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55451,
    "c": 0.19851,
    "h": 301.9
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#8A4BD1
secondary
#BED8A0
accent
#E24599
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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