#8A4DC0#8A4DC0

#8A4DC0 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.177 H 305.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A4DC0
RGBrgb(138, 77, 192)
HSLhsl(272, 48%, 53%)
HSVhsv(272, 60%, 75%)
CMYKcmyk(28.1%, 59.9%, 0%, 24.7%)
CIE-LABlab(44.97, 47.20, -50.68)
CIE-LCHlch(44.97, 69.25, 312.96°)
OKLaboklab(54.58% 0.1033 -0.1431)
OKLCHoklch(54.58% 0.177 305.8)
XYZxyz(22.6475, 14.5170, 51.4679)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DC0 #83C04D
analogous
#504DC0 #8A4DC0 #C04DBD
triadic
#8A4DC0 #C08A4D #4DC08A
tetradic
#8A4DC0 #C0504D #83C04D #4DBDC0
square
#8A4DC0 #C0504D #83C04D #4DBDC0
split-complementary
#8A4DC0 #BDC04D #4DC050
monochromatic
#4B266C #6B3699 #8A4DC0 #A87AD0 #C5A7E0

Accessibility & contrast

On white

5.38
#8A4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8A4DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DC0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DC0#FFFFFF#000000##FFFFFF
##8A4DC01.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C4
Deuteranopia (green-blind)
#366BBD
Tritanopia (blue-blind)
#81647F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a4dc0;
/* rgb */ color: rgb(138, 77, 192);
/* oklch */ color: oklch(54.6% 0.177 305.8);
Tailwind
colors: {
  custom: {
    50: '#b082d4',
    500: '#8a4dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dc0;
$custom-light: #b082d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dc0",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 271.826,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.17652,
    "h": 305.8
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#8A4DC0
secondary
#B3CD9B
accent
#D75090
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A4DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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