#8A4CE0#8A4CE0

#8A4CE0 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.214 H 298.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A4CE0
RGBrgb(138, 76, 224)
HSLhsl(265, 70%, 59%)
HSVhsv(265, 66%, 88%)
CMYKcmyk(38.4%, 66.1%, 0%, 12.2%)
CIE-LABlab(46.91, 55.53, -65.92)
CIE-LCHlch(46.91, 86.20, 310.11°)
OKLaboklab(56.66% 0.1022 -0.1879)
OKLCHoklch(56.66% 0.214 298.5)
XYZxyz(26.5168, 15.9536, 72.1889)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CE0 #A2E04C
analogous
#4C58E0 #8A4CE0 #D44CE0
triadic
#8A4CE0 #E08A4C #4CE08A
tetradic
#8A4CE0 #E04C58 #A2E04C #4CE0D4
square
#8A4CE0 #E04C58 #A2E04C #4CE0D4
split-complementary
#8A4CE0 #E0D44C #58E04C
monochromatic
#4F1A97 #6A23CC #8A4CE0 #AC80E9 #CEB4F2

Accessibility & contrast

On white

5.01
#8A4CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8A4CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CE0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CE0#FFFFFF#000000##FFFFFF
##8A4CE01.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4ce0;
/* rgb */ color: rgb(138, 76, 224);
/* oklch */ color: oklch(56.7% 0.214 298.5);
Tailwind
colors: {
  custom: {
    50: '#b282eb',
    500: '#8a4ce0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ce0;
$custom-light: #b282eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ce0",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 265.135,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.21391,
    "h": 298.5
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#8A4CE0
secondary
#C9E1A7
accent
#ED3BA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8A4CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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