#8A4CE6#8A4CE6

#8A4CE6 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.221 H 297.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A4CE6
RGBrgb(138, 76, 230)
HSLhsl(264, 75%, 60%)
HSVhsv(264, 67%, 90%)
CMYKcmyk(40%, 67%, 0%, 9.8%)
CIE-LABlab(47.35, 57.03, -68.62)
CIE-LCHlch(47.35, 89.23, 309.73°)
OKLaboklab(57.11% 0.1014 -0.1959)
OKLCHoklch(57.11% 0.221 297.4)
XYZxyz(27.3449, 16.2849, 76.5502)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CE6 #A8E64C
analogous
#4C5BE6 #8A4CE6 #D74CE6
triadic
#8A4CE6 #E68A4C #4CE68A
tetradic
#8A4CE6 #E64C5B #A8E64C #4CE6D7
square
#8A4CE6 #E64C5B #A8E64C #4CE6D7
split-complementary
#8A4CE6 #E6D74C #5BE64C
monochromatic
#4E17A1 #681ED7 #8A4CE6 #AD82ED #D0B7F5

Accessibility & contrast

On white

4.93
#8A4CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8A4CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CE6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CE6#FFFFFF#000000##FFFFFF
##8A4CE61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#737193
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a4ce6;
/* rgb */ color: rgb(138, 76, 230);
/* oklch */ color: oklch(57.1% 0.221 297.4);
Tailwind
colors: {
  custom: {
    50: '#b382ef',
    500: '#8a4ce6',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ce6;
$custom-light: #b382ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ce6",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 264.156,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.22055,
    "h": 297.4
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#8A4CE6
secondary
#CDE5A9
accent
#F236A6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A4CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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