#8A5DBE#8A5DBE

#8A5DBE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.149 H 303.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8A5DBE
RGBrgb(138, 93, 190)
HSLhsl(268, 43%, 55%)
HSVhsv(268, 51%, 75%)
CMYKcmyk(27.4%, 51.1%, 0%, 25.5%)
CIE-LABlab(48.20, 37.94, -44.36)
CIE-LCHlch(48.20, 58.38, 310.54°)
OKLaboklab(56.92% 0.0823 -0.1247)
OKLCHoklch(56.92% 0.149 303.4)
XYZxyz(23.6878, 16.9497, 50.7289)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DBE #91BE5D
analogous
#5D60BE #8A5DBE #BA5DBE
triadic
#8A5DBE #BE8A5D #5DBE8A
tetradic
#8A5DBE #BE5D60 #91BE5D #5DBEBA
square
#8A5DBE #BE5D60 #91BE5D #5DBEBA
split-complementary
#8A5DBE #BEBA5D #60BE5D
monochromatic
#4E2E73 #6B409E #8A5DBE #AA89D0 #C9B4E1

Accessibility & contrast

On white

4.78
#8A5DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8A5DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5DBE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DBE#FFFFFF#000000##FFFFFF
##8A5DBE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C1
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#816F85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a5dbe;
/* rgb */ color: rgb(138, 93, 190);
/* oklch */ color: oklch(56.9% 0.149 303.4);
Tailwind
colors: {
  custom: {
    50: '#af8cd2',
    500: '#8a5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #8a5dbe;
$custom-light: #af8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5dbe",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 267.835,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.14939,
    "h": 303.4
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#8A5DBE
secondary
#BDD0A7
accent
#D35598
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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