#8A5BE3#8A5BE3

#8A5BE3 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.0% C 0.198 H 295.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A5BE3
RGBrgb(138, 91, 227)
HSLhsl(261, 71%, 62%)
HSVhsv(261, 60%, 89%)
CMYKcmyk(39.2%, 59.9%, 0%, 11%)
CIE-LABlab(50.01, 48.48, -62.60)
CIE-LCHlch(50.01, 79.18, 307.75°)
OKLaboklab(58.97% 0.0856 -0.1782)
OKLCHoklch(58.97% 0.198 295.6)
XYZxyz(28.0838, 18.4309, 74.7360)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BE3 #B4E35B
analogous
#5B70E3 #8A5BE3 #CE5BE3
triadic
#8A5BE3 #E38A5B #5BE38A
tetradic
#8A5BE3 #E35B70 #B4E35B #5BE3CE
square
#8A5BE3 #E35B70 #B4E35B #5BE3CE
split-complementary
#8A5BE3 #E3CE5B #70E35B
monochromatic
#4C1DA7 #6527DA #8A5BE3 #AF8FEC #D5C4F5

Accessibility & contrast

On white

4.48
#8A5BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A5BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5BE3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BE3#FFFFFF#000000##000000
##8A5BE31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#1675E0
Tritanopia (blue-blind)
#747996
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a5be3;
/* rgb */ color: rgb(138, 91, 227);
/* oklch */ color: oklch(59.0% 0.198 295.6);
Tailwind
colors: {
  custom: {
    50: '#b28bed',
    500: '#8a5be3',
    950: '#000000',
  },
}
SCSS
$custom: #8a5be3;
$custom-light: #b28bed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5be3",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 260.735,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.19767,
    "h": 295.6
  },
  "luminance": 0.18431
}

Semantic roles & 50–950 ramp

primary
#8A5BE3
secondary
#D5E6B4
accent
#D31390
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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