#8A5CC1#8A5CC1

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

Color values

HEX#8A5CC1
RGBrgb(138, 92, 193)
HSLhsl(267, 45%, 56%)
HSVhsv(267, 52%, 76%)
CMYKcmyk(28.5%, 52.3%, 0%, 24.3%)
CIE-LABlab(48.14, 39.25, -46.18)
CIE-LCHlch(48.14, 60.61, 310.36°)
OKLaboklab(56.93% 0.0839 -0.13)
OKLCHoklch(56.93% 0.155 302.8)
XYZxyz(23.9319, 16.9078, 52.4445)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CC1 #93C15C
analogous
#5C60C1 #8A5CC1 #BD5CC1
triadic
#8A5CC1 #C18A5C #5CC18A
tetradic
#8A5CC1 #C15C60 #93C15C #5CC1BD
square
#8A5CC1 #C15C60 #93C15C #5CC1BD
split-complementary
#8A5CC1 #C1BD5C #60C15C
monochromatic
#4E2D76 #6B3EA2 #8A5CC1 #AA88D2 #CAB5E3

Accessibility & contrast

On white

4.79
#8A5CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8A5CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5CC1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CC1#FFFFFF#000000##FFFFFF
##8A5CC11.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C4
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#806F86
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a5cc1;
/* rgb */ color: rgb(138, 92, 193);
/* oklch */ color: oklch(56.9% 0.155 302.8);
Tailwind
colors: {
  custom: {
    50: '#af8bd4',
    500: '#8a5cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8a5cc1;
$custom-light: #af8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5cc1",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 267.327,
    "s": 44.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.15472,
    "h": 302.8
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A5CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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