#8A5CF4#8A5CF4

#8A5CF4 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.217 H 292.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8A5CF4
RGBrgb(138, 92, 244)
HSLhsl(258, 87%, 66%)
HSVhsv(258, 62%, 96%)
CMYKcmyk(43.4%, 62.3%, 0%, 4.3%)
CIE-LABlab(51.37, 52.43, -69.96)
CIE-LCHlch(51.37, 87.42, 306.85°)
OKLaboklab(60.32% 0.0834 -0.1998)
OKLCHoklch(60.32% 0.217 292.7)
XYZxyz(30.6330, 19.5883, 87.7373)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CF4 #C6F45C
analogous
#5C7AF4 #8A5CF4 #D65CF4
triadic
#8A5CF4 #F48A5C #5CF48A
tetradic
#8A5CF4 #F45C7A #C6F45C #5CF4D6
square
#8A5CF4 #F45C7A #C6F45C #5CF4D6
split-complementary
#8A5CF4 #F4D65C #7AF45C
monochromatic
#460EC8 #6123F0 #8A5CF4 #B395F8 #DCCFFC

Accessibility & contrast

On white

4.27
#8A5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8A5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5CF4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CF4#FFFFFF#000000##000000
##8A5CF41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#6C7FA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a5cf4;
/* rgb */ color: rgb(138, 92, 244);
/* oklch */ color: oklch(60.3% 0.217 292.7);
Tailwind
colors: {
  custom: {
    50: '#b38cf9',
    500: '#8a5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #8a5cf4;
$custom-light: #b38cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5cf4",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 258.158,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.21654,
    "h": 292.7
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#8A5CF4
secondary
#E0EFBD
accent
#E4029F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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