#8A4BD0#8A4BD0

#8A4BD0 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.197 H 302.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A4BD0
RGBrgb(138, 75, 208)
HSLhsl(268, 59%, 55%)
HSVhsv(268, 64%, 82%)
CMYKcmyk(33.7%, 63.9%, 0%, 18.4%)
CIE-LABlab(45.62, 52.09, -58.88)
CIE-LCHlch(45.62, 78.61, 311.50°)
OKLaboklab(55.38% 0.1049 -0.1672)
OKLCHoklch(55.38% 0.197 302.1)
XYZxyz(24.3798, 14.9894, 61.2711)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BD0 #91D04B
analogous
#4B4ED0 #8A4BD0 #CC4BD0
triadic
#8A4BD0 #D08A4B #4BD08A
tetradic
#8A4BD0 #D04B4E #91D04B #4BD0CC
square
#8A4BD0 #D04B4E #91D04B #4BD0CC
split-complementary
#8A4BD0 #D0CC4B #4ED04B
monochromatic
#4E217F #6B2EB0 #8A4BD0 #AA7CDD #C9ACE9

Accessibility & contrast

On white

5.25
#8A4BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8A4BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BD0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BD0#FFFFFF#000000##FFFFFF
##8A4BD01.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#1A6BCD
Tritanopia (blue-blind)
#7C6887
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4bd0;
/* rgb */ color: rgb(138, 75, 208);
/* oklch */ color: oklch(55.4% 0.197 302.1);
Tailwind
colors: {
  custom: {
    50: '#b181df',
    500: '#8a4bd0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bd0;
$custom-light: #b181df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bd0",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 208
  },
  "hsl": {
    "h": 268.421,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.19739,
    "h": 302.1
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#8A4BD0
secondary
#BDD7A0
accent
#E24698
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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