#8A5BDF#8A5BDF

#8A5BDF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.7% C 0.193 H 296.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A5BDF
RGBrgb(138, 91, 223)
HSLhsl(261, 67%, 62%)
HSVhsv(261, 59%, 87%)
CMYKcmyk(38.1%, 59.2%, 0%, 12.5%)
CIE-LABlab(49.75, 47.44, -60.76)
CIE-LCHlch(49.75, 77.09, 307.98°)
OKLaboklab(58.7% 0.0857 -0.1728)
OKLCHoklch(58.7% 0.193 296.4)
XYZxyz(27.5382, 18.2127, 71.8622)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BDF #B0DF5B
analogous
#5B6EDF #8A5BDF #CC5BDF
triadic
#8A5BDF #DF8A5B #5BDF8A
tetradic
#8A5BDF #DF5B6E #B0DF5B #5BDFCC
square
#8A5BDF #DF5B6E #B0DF5B #5BDFCC
split-complementary
#8A5BDF #DFCC5B #6EDF5B
monochromatic
#4D1FA0 #6629D4 #8A5BDF #AF8EE9 #D3C1F3

Accessibility & contrast

On white

4.52
#8A5BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A5BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5BDF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BDF#FFFFFF#000000##000000
##8A5BDF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#2175DC
Tritanopia (blue-blind)
#757894
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a5bdf;
/* rgb */ color: rgb(138, 91, 223);
/* oklch */ color: oklch(58.7% 0.193 296.4);
Tailwind
colors: {
  custom: {
    50: '#b18bea',
    500: '#8a5bdf',
    950: '#000000',
  },
}
SCSS
$custom: #8a5bdf;
$custom-light: #b18bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5bdf",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 261.364,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.19287,
    "h": 296.4
  },
  "luminance": 0.18213
}

Semantic roles & 50–950 ramp

primary
#8A5BDF
secondary
#D2E3B2
accent
#CF168D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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