#8A4FC0#8A4FC0

#8A4FC0 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.174 H 305.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A4FC0
RGBrgb(138, 79, 192)
HSLhsl(271, 47%, 53%)
HSVhsv(271, 59%, 75%)
CMYKcmyk(28.1%, 58.9%, 0%, 24.7%)
CIE-LABlab(45.36, 46.14, -50.05)
CIE-LCHlch(45.36, 68.07, 312.67°)
OKLaboklab(54.86% 0.1008 -0.1413)
OKLCHoklch(54.86% 0.174 305.5)
XYZxyz(22.7896, 14.8012, 51.5153)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FC0 #85C04F
analogous
#514FC0 #8A4FC0 #C04FBE
triadic
#8A4FC0 #C08A4F #4FC08A
tetradic
#8A4FC0 #C0514F #85C04F #4FBEC0
square
#8A4FC0 #C0514F #85C04F #4FBEC0
split-complementary
#8A4FC0 #BEC04F #4FC051
monochromatic
#4C276D #6B379A #8A4FC0 #A87CD0 #C6A9E0

Accessibility & contrast

On white

5.30
#8A4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FC0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FC0#FFFFFF#000000##FFFFFF
##8A4FC01.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC4
Deuteranopia (green-blind)
#396CBD
Tritanopia (blue-blind)
#816580
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4fc0;
/* rgb */ color: rgb(138, 79, 192);
/* oklch */ color: oklch(54.9% 0.174 305.5);
Tailwind
colors: {
  custom: {
    50: '#af83d4',
    500: '#8a4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fc0;
$custom-light: #af83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fc0",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 271.327,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54864,
    "c": 0.17355,
    "h": 305.5
  },
  "luminance": 0.14801
}

Semantic roles & 50–950 ramp

primary
#8A4FC0
secondary
#B4CE9D
accent
#D75191
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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