#8A4DC9#8A4DC9

#8A4DC9 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.187 H 303.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A4DC9
RGBrgb(138, 77, 201)
HSLhsl(270, 53%, 55%)
HSVhsv(270, 62%, 79%)
CMYKcmyk(31.3%, 61.7%, 0%, 21.2%)
CIE-LABlab(45.54, 49.36, -54.98)
CIE-LCHlch(45.54, 73.89, 311.92°)
OKLaboklab(55.17% 0.103 -0.1558)
OKLCHoklch(55.17% 0.187 303.5)
XYZxyz(23.6753, 14.9281, 56.8812)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DC9 #8CC94D
analogous
#4D4EC9 #8A4DC9 #C84DC9
triadic
#8A4DC9 #C98A4D #4DC98A
tetradic
#8A4DC9 #C94D4E #8CC94D #4DC9C8
square
#8A4DC9 #C94D4E #8CC94D #4DC9C8
split-complementary
#8A4DC9 #C9C84D #4EC94D
monochromatic
#4D2477 #6B32A6 #8A4DC9 #A97CD7 #C8ABE5

Accessibility & contrast

On white

5.27
#8A4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8A4DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DC9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DC9#FFFFFF#000000##FFFFFF
##8A4DC91.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#2B6CC6
Tritanopia (blue-blind)
#7E6784
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4dc9;
/* rgb */ color: rgb(138, 77, 201);
/* oklch */ color: oklch(55.2% 0.187 303.5);
Tailwind
colors: {
  custom: {
    50: '#b082da',
    500: '#8a4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dc9;
$custom-light: #b082da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dc9",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 269.516,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.18675,
    "h": 303.5
  },
  "luminance": 0.14928
}

Semantic roles & 50–950 ramp

primary
#8A4DC9
secondary
#B9D39F
accent
#DD4B95
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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