#8A5CC9#8A5CC9

#8A5CC9 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.165 H 300.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8A5CC9
RGBrgb(138, 92, 201)
HSLhsl(265, 50%, 57%)
HSVhsv(265, 54%, 79%)
CMYKcmyk(31.3%, 54.2%, 0%, 21.2%)
CIE-LABlab(48.60, 41.24, -50.06)
CIE-LCHlch(48.60, 64.86, 309.49°)
OKLaboklab(57.42% 0.0843 -0.1414)
OKLCHoklch(57.42% 0.165 300.8)
XYZxyz(24.8485, 17.2745, 57.2722)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CC9 #9BC95C
analogous
#5C65C9 #8A5CC9 #C05CC9
triadic
#8A5CC9 #C98A5C #5CC98A
tetradic
#8A5CC9 #C95C65 #9BC95C #5CC9C0
square
#8A5CC9 #C95C65 #9BC95C #5CC9C0
split-complementary
#8A5CC9 #C9C05C #65C95C
monochromatic
#4F2A80 #6B3AAE #8A5CC9 #AB8AD8 #CCB8E7

Accessibility & contrast

On white

4.71
#8A5CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8A5CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5CC9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CC9#FFFFFF#000000##FFFFFF
##8A5CC91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3273CD
Deuteranopia (green-blind)
#4173C6
Tritanopia (blue-blind)
#7D718A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a5cc9;
/* rgb */ color: rgb(138, 92, 201);
/* oklch */ color: oklch(57.4% 0.165 300.8);
Tailwind
colors: {
  custom: {
    50: '#af8cda',
    500: '#8a5cc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a5cc9;
$custom-light: #af8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5cc9",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 265.321,
    "s": 50.23,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5742,
    "c": 0.16461,
    "h": 300.8
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#8A5CC9
secondary
#C4D6AA
accent
#DA4E9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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