#8A5BE0#8A5BE0

#8A5BE0 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.194 H 296.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A5BE0
RGBrgb(138, 91, 224)
HSLhsl(261, 68%, 62%)
HSVhsv(261, 59%, 88%)
CMYKcmyk(38.4%, 59.4%, 0%, 12.2%)
CIE-LABlab(49.82, 47.70, -61.23)
CIE-LCHlch(49.82, 77.61, 307.92°)
OKLaboklab(58.77% 0.0857 -0.1741)
OKLCHoklch(58.77% 0.194 296.2)
XYZxyz(27.6734, 18.2668, 72.5744)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BE0 #B1E05B
analogous
#5B6FE0 #8A5BE0 #CD5BE0
triadic
#8A5BE0 #E08A5B #5BE08A
tetradic
#8A5BE0 #E05B6F #B1E05B #5BE0CD
square
#8A5BE0 #E05B6F #B1E05B #5BE0CD
split-complementary
#8A5BE0 #E0CD5B #6FE05B
monochromatic
#4D1FA2 #6628D5 #8A5BE0 #AF8EEA #D3C2F3

Accessibility & contrast

On white

4.51
#8A5BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8A5BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5BE0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BE0#FFFFFF#000000##000000
##8A5BE01.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#1F75DD
Tritanopia (blue-blind)
#757895
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a5be0;
/* rgb */ color: rgb(138, 91, 224);
/* oklch */ color: oklch(58.8% 0.194 296.2);
Tailwind
colors: {
  custom: {
    50: '#b18bea',
    500: '#8a5be0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5be0;
$custom-light: #b18bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5be0",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 224
  },
  "hsl": {
    "h": 261.203,
    "s": 68.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58768,
    "c": 0.19408,
    "h": 296.2
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#8A5BE0
secondary
#D3E4B3
accent
#D0158E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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