#8A5BBD#8A5BBD

#8A5BBD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.5% C 0.151 H 304.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A5BBD
RGBrgb(138, 91, 189)
HSLhsl(269, 43%, 55%)
HSVhsv(269, 52%, 74%)
CMYKcmyk(27%, 51.9%, 0%, 25.9%)
CIE-LABlab(47.70, 38.83, -44.57)
CIE-LCHlch(47.70, 59.11, 311.06°)
OKLaboklab(56.53% 0.0849 -0.1253)
OKLCHoklch(56.53% 0.151 304.1)
XYZxyz(23.4056, 16.5596, 50.0975)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BBD #8EBD5B
analogous
#5B5DBD #8A5BBD #BB5BBD
triadic
#8A5BBD #BD8A5B #5BBD8A
tetradic
#8A5BBD #BD5B5D #8EBD5B #5BBDBB
square
#8A5BBD #BD5B5D #8EBD5B #5BBDBB
split-complementary
#8A5BBD #BDBB5B #5DBD5B
monochromatic
#4D2D70 #6B3F9C #8A5BBD #A987CF #C8B2E0

Accessibility & contrast

On white

4.87
#8A5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8A5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5BBD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BBD#FFFFFF#000000##FFFFFF
##8A5BBD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C70C0
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#816D83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a5bbd;
/* rgb */ color: rgb(138, 91, 189);
/* oklch */ color: oklch(56.5% 0.151 304.1);
Tailwind
colors: {
  custom: {
    50: '#af8bd1',
    500: '#8a5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8a5bbd;
$custom-light: #af8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5bbd",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 268.776,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.15136,
    "h": 304.1
  },
  "luminance": 0.1656
}

Semantic roles & 50–950 ramp

primary
#8A5BBD
secondary
#BBCFA5
accent
#D25596
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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