#8A4BE0#8A4BE0

#8A4BE0 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.215 H 298.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8A4BE0
RGBrgb(138, 75, 224)
HSLhsl(265, 71%, 59%)
HSVhsv(265, 67%, 88%)
CMYKcmyk(38.4%, 66.5%, 0%, 12.2%)
CIE-LABlab(46.73, 56.03, -66.22)
CIE-LCHlch(46.73, 86.74, 310.24°)
OKLaboklab(56.53% 0.1032 -0.1888)
OKLCHoklch(56.53% 0.215 298.7)
XYZxyz(26.4485, 15.8169, 72.1661)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BE0 #A1E04B
analogous
#4B56E0 #8A4BE0 #D44BE0
triadic
#8A4BE0 #E08A4B #4BE08A
tetradic
#8A4BE0 #E04B56 #A1E04B #4BE0D4
square
#8A4BE0 #E04B56 #A1E04B #4BE0D4
split-complementary
#8A4BE0 #E0D44B #56E04B
monochromatic
#4F1A97 #6A23CB #8A4BE0 #AC7FE9 #CEB3F2

Accessibility & contrast

On white

5.04
#8A4BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8A4BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BE0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BE0#FFFFFF#000000##FFFFFF
##8A4BE01.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#766E8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a4be0;
/* rgb */ color: rgb(138, 75, 224);
/* oklch */ color: oklch(56.5% 0.215 298.7);
Tailwind
colors: {
  custom: {
    50: '#b281eb',
    500: '#8a4be0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4be0;
$custom-light: #b281eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4be0",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 265.369,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.21517,
    "h": 298.7
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#8A4BE0
secondary
#C8E1A6
accent
#ED3AA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8A4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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