#8A4FDD#8A4FDD

#8A4FDD is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.207 H 298.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A4FDD
RGBrgb(138, 79, 221)
HSLhsl(265, 68%, 59%)
HSVhsv(265, 64%, 87%)
CMYKcmyk(37.6%, 64.3%, 0%, 13.3%)
CIE-LABlab(47.26, 53.27, -63.66)
CIE-LCHlch(47.26, 83.01, 309.92°)
OKLaboklab(56.84% 0.0993 -0.1813)
OKLCHoklch(56.84% 0.207 298.7)
XYZxyz(26.3251, 16.2154, 70.1355)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FDD #A2DD4F
analogous
#4F5BDD #8A4FDD #D14FDD
triadic
#8A4FDD #DD8A4F #4FDD8A
tetradic
#8A4FDD #DD4F5B #A2DD4F #4FDDD1
square
#8A4FDD #DD4F5B #A2DD4F #4FDDD1
split-complementary
#8A4FDD #DDD14F #5BDD4F
monochromatic
#4F1D95 #6A27C8 #8A4FDD #AC82E7 #CEB6F1

Accessibility & contrast

On white

4.95
#8A4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8A4FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FDD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FDD#FFFFFF#000000##FFFFFF
##8A4FDD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#776F8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a4fdd;
/* rgb */ color: rgb(138, 79, 221);
/* oklch */ color: oklch(56.8% 0.207 298.7);
Tailwind
colors: {
  custom: {
    50: '#b284e8',
    500: '#8a4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fdd;
$custom-light: #b284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fdd",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 264.93,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.20672,
    "h": 298.7
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#8A4FDD
secondary
#C9E0A8
accent
#EA3DA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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