#8A5ACF#8A5ACF

#8A5ACF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.175 H 299.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A5ACF
RGBrgb(138, 90, 207)
HSLhsl(265, 55%, 58%)
HSVhsv(265, 57%, 81%)
CMYKcmyk(33.3%, 56.5%, 0%, 18.8%)
CIE-LABlab(48.54, 43.87, -53.61)
CIE-LCHlch(48.54, 69.27, 309.30°)
OKLaboklab(57.49% 0.0871 -0.1518)
OKLCHoklch(57.49% 0.175 299.8)
XYZxyz(25.3972, 17.2204, 61.0052)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5ACF #9FCF5A
analogous
#5A64CF #8A5ACF #C45ACF
triadic
#8A5ACF #CF8A5A #5ACF8A
tetradic
#8A5ACF #CF5A64 #9FCF5A #5ACFC4
square
#8A5ACF #CF5A64 #9FCF5A #5ACFC4
split-complementary
#8A5ACF #CFC45A #64CF5A
monochromatic
#4F2787 #6A35B7 #8A5ACF #AC89DD #CDB9EB

Accessibility & contrast

On white

4.73
#8A5ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8A5ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5ACF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5ACF#FFFFFF#000000##FFFFFF
##8A5ACF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#7B728C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a5acf;
/* rgb */ color: rgb(138, 90, 207);
/* oklch */ color: oklch(57.5% 0.175 299.8);
Tailwind
colors: {
  custom: {
    50: '#b08ade',
    500: '#8a5acf',
    950: '#000000',
  },
}
SCSS
$custom: #8a5acf;
$custom-light: #b08ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5acf",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 264.615,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57485,
    "c": 0.17496,
    "h": 299.8
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#8A5ACF
secondary
#C7DAAB
accent
#DE4AA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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