#8A5EFF#8A5EFF

#8A5EFF is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.227 H 290.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A5EFF
RGBrgb(138, 94, 255)
HSLhsl(256, 100%, 68%)
HSVhsv(256, 63%, 100%)
CMYKcmyk(45.9%, 63.1%, 0%, 0%)
CIE-LABlab(52.54, 54.31, -74.18)
CIE-LCHlch(52.54, 91.93, 306.21°)
OKLaboklab(61.42% 0.0804 -0.2122)
OKLCHoklch(61.42% 0.227 290.7)
XYZxyz(32.5289, 20.6275, 96.8559)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5EFF #D3FF5E
analogous
#5E82FF #8A5EFF #DB5EFF
triadic
#8A5EFF #FF8A5E #5EFF8A
tetradic
#8A5EFF #FF5E82 #D3FF5E #5EFFDB
square
#8A5EFF #FF5E82 #D3FF5E #5EFFDB
split-complementary
#8A5EFF #FFDB5E #82FF5E
monochromatic
#3E00E3 #5E21FF #8A5EFF #B69BFF #E3D8FF

Accessibility & contrast

On white

4.10
#8A5EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A5EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5EFF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5EFF#FFFFFF#000000##000000
##8A5EFF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007AFC
Tritanopia (blue-blind)
#6684A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a5eff;
/* rgb */ color: rgb(138, 94, 255);
/* oklch */ color: oklch(61.4% 0.227 290.7);
Tailwind
colors: {
  custom: {
    50: '#b48eff',
    500: '#8a5eff',
    950: '#000000',
  },
}
SCSS
$custom: #8a5eff;
$custom-light: #b48eff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5eff",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 256.398,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61417,
    "c": 0.22695,
    "h": 290.7
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

primary
#8A5EFF
secondary
#E7F5C4
accent
#E600A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A5EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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