#8A5DFF#8A5DFF

#8A5DFF is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.228 H 290.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A5DFF
RGBrgb(138, 93, 255)
HSLhsl(257, 100%, 68%)
HSVhsv(257, 64%, 100%)
CMYKcmyk(45.9%, 63.5%, 0%, 0%)
CIE-LABlab(52.34, 54.84, -74.49)
CIE-LCHlch(52.34, 92.50, 306.36°)
OKLaboklab(61.28% 0.0814 -0.2132)
OKLCHoklch(61.28% 0.228 290.9)
XYZxyz(32.4405, 20.4508, 96.8265)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DFF #D2FF5D
analogous
#5D81FF #8A5DFF #DB5DFF
triadic
#8A5DFF #FF8A5D #5DFF8A
tetradic
#8A5DFF #FF5D81 #D2FF5D #5DFFDB
square
#8A5DFF #FF5D81 #D2FF5D #5DFFDB
split-complementary
#8A5DFF #FFDB5D #81FF5D
monochromatic
#3F00E2 #5E20FF #8A5DFF #B69AFF #E2D7FF

Accessibility & contrast

On white

4.13
#8A5DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A5DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5DFF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DFF#FFFFFF#000000##000000
##8A5DFF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a5dff;
/* rgb */ color: rgb(138, 93, 255);
/* oklch */ color: oklch(61.3% 0.228 290.9);
Tailwind
colors: {
  custom: {
    50: '#b48dff',
    500: '#8a5dff',
    950: '#000000',
  },
}
SCSS
$custom: #8a5dff;
$custom-light: #b48dff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5dff",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 256.667,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.22818,
    "h": 290.9
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#8A5DFF
secondary
#E7F4C3
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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