#8A5DBF#8A5DBF

#8A5DBF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.151 H 303.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A5DBF
RGBrgb(138, 93, 191)
HSLhsl(268, 43%, 56%)
HSVhsv(268, 51%, 75%)
CMYKcmyk(27.7%, 51.3%, 0%, 25.1%)
CIE-LABlab(48.25, 38.19, -44.85)
CIE-LCHlch(48.25, 58.91, 310.41°)
OKLaboklab(56.97% 0.0824 -0.1261)
OKLCHoklch(56.97% 0.151 303.1)
XYZxyz(23.7975, 16.9936, 51.3065)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DBF #92BF5D
analogous
#5D61BF #8A5DBF #BB5DBF
triadic
#8A5DBF #BF8A5D #5DBF8A
tetradic
#8A5DBF #BF5D61 #92BF5D #5DBFBB
square
#8A5DBF #BF5D61 #92BF5D #5DBFBB
split-complementary
#8A5DBF #BFBB5D #61BF5D
monochromatic
#4E2E74 #6B3FA0 #8A5DBF #AA89D0 #C9B5E2

Accessibility & contrast

On white

4.77
#8A5DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8A5DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5DBF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DBF#FFFFFF#000000##FFFFFF
##8A5DBF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D72C2
Deuteranopia (green-blind)
#4A72BD
Tritanopia (blue-blind)
#806F85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a5dbf;
/* rgb */ color: rgb(138, 93, 191);
/* oklch */ color: oklch(57.0% 0.151 303.1);
Tailwind
colors: {
  custom: {
    50: '#af8cd3',
    500: '#8a5dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a5dbf;
$custom-light: #af8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5dbf",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 267.551,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.15064,
    "h": 303.1
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

primary
#8A5DBF
secondary
#BED0A8
accent
#D35599
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A5DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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