#8A5CC3#8A5CC3

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

Color values

HEX#8A5CC3
RGBrgb(138, 92, 195)
HSLhsl(267, 46%, 56%)
HSVhsv(267, 53%, 76%)
CMYKcmyk(29.2%, 52.8%, 0%, 23.5%)
CIE-LABlab(48.26, 39.74, -47.16)
CIE-LCHlch(48.26, 61.67, 310.12°)
OKLaboklab(57.05% 0.084 -0.1329)
OKLCHoklch(57.05% 0.157 302.3)
XYZxyz(24.1565, 16.9977, 53.6274)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CC3 #95C35C
analogous
#5C62C3 #8A5CC3 #BE5CC3
triadic
#8A5CC3 #C38A5C #5CC38A
tetradic
#8A5CC3 #C35C62 #95C35C #5CC3BE
square
#8A5CC3 #C35C62 #95C35C #5CC3BE
split-complementary
#8A5CC3 #C3BE5C #62C35C
monochromatic
#4E2C78 #6B3DA5 #8A5CC3 #AA89D3 #CAB5E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A5CC3#FFFFFF#000000##FFFFFF
##8A5CC31.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)
#3872C7
Deuteranopia (green-blind)
#4672C1
Tritanopia (blue-blind)
#7F6F87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a5cc3;
/* rgb */ color: rgb(138, 92, 195);
/* oklch */ color: oklch(57.1% 0.157 302.3);
Tailwind
colors: {
  custom: {
    50: '#af8bd6',
    500: '#8a5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #8a5cc3;
$custom-light: #af8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5cc3",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 266.796,
    "s": 46.188,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.15719,
    "h": 302.3
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#8A5CC3
secondary
#C0D3A8
accent
#D6529B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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