#8A5CC0#8A5CC0

#8A5CC0 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.153 H 303.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A5CC0
RGBrgb(138, 92, 192)
HSLhsl(268, 44%, 56%)
HSVhsv(268, 52%, 75%)
CMYKcmyk(28.1%, 52.1%, 0%, 24.7%)
CIE-LABlab(48.09, 39.00, -45.69)
CIE-LCHlch(48.09, 60.08, 310.48°)
OKLaboklab(56.87% 0.0838 -0.1286)
OKLCHoklch(56.87% 0.153 303.1)
XYZxyz(23.8207, 16.8634, 51.8590)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CC0 #92C05C
analogous
#5C60C0 #8A5CC0 #BC5CC0
triadic
#8A5CC0 #C08A5C #5CC08A
tetradic
#8A5CC0 #C05C60 #92C05C #5CC0BC
square
#8A5CC0 #C05C60 #92C05C #5CC0BC
split-complementary
#8A5CC0 #C0BC5C #60C05C
monochromatic
#4E2D75 #6B3EA1 #8A5CC0 #AA88D1 #C9B4E2

Accessibility & contrast

On white

4.80
#8A5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8A5CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5CC0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CC0#FFFFFF#000000##FFFFFF
##8A5CC01.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C3
Deuteranopia (green-blind)
#4872BE
Tritanopia (blue-blind)
#806F85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a5cc0;
/* rgb */ color: rgb(138, 92, 192);
/* oklch */ color: oklch(56.9% 0.153 303.1);
Tailwind
colors: {
  custom: {
    50: '#af8bd3',
    500: '#8a5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5cc0;
$custom-light: #af8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5cc0",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 267.6,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.15348,
    "h": 303.1
  },
  "luminance": 0.16863
}

Semantic roles & 50–950 ramp

primary
#8A5CC0
secondary
#BED1A7
accent
#D45499
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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