#8A4FD0#8A4FD0

#8A4FD0 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.9% C 0.192 H 301.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A4FD0
RGBrgb(138, 79, 208)
HSLhsl(267, 58%, 56%)
HSVhsv(267, 62%, 82%)
CMYKcmyk(33.7%, 62%, 0%, 18.4%)
CIE-LABlab(46.38, 50.03, -57.65)
CIE-LCHlch(46.38, 76.34, 310.95°)
OKLaboklab(55.93% 0.1003 -0.1636)
OKLCHoklch(55.93% 0.192 301.5)
XYZxyz(24.6597, 15.5492, 61.3644)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FD0 #95D04F
analogous
#4F55D0 #8A4FD0 #CB4FD0
triadic
#8A4FD0 #D08A4F #4FD08A
tetradic
#8A4FD0 #D04F55 #95D04F #4FD0CB
square
#8A4FD0 #D04F55 #95D04F #4FD0CB
split-complementary
#8A4FD0 #D0CB4F #55D04F
monochromatic
#4E2382 #6B30B2 #8A4FD0 #AA7FDD #CAB0EA

Accessibility & contrast

On white

5.11
#8A4FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8A4FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FD0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FD0#FFFFFF#000000##FFFFFF
##8A4FD01.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#236DCD
Tritanopia (blue-blind)
#7C6B88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a4fd0;
/* rgb */ color: rgb(138, 79, 208);
/* oklch */ color: oklch(55.9% 0.192 301.5);
Tailwind
colors: {
  custom: {
    50: '#b183df',
    500: '#8a4fd0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fd0;
$custom-light: #b183df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fd0",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 208
  },
  "hsl": {
    "h": 267.442,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.19192,
    "h": 301.5
  },
  "luminance": 0.15549
}

Semantic roles & 50–950 ramp

primary
#8A4FD0
secondary
#C0D8A3
accent
#E1479A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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