#8A61B6#8A61B6

#8A61B6 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.133 H 304.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A61B6
RGBrgb(138, 97, 182)
HSLhsl(269, 37%, 55%)
HSVhsv(269, 47%, 71%)
CMYKcmyk(24.2%, 46.7%, 0%, 28.6%)
CIE-LABlab(48.67, 33.70, -38.97)
CIE-LCHlch(48.67, 51.52, 310.86°)
OKLaboklab(57.13% 0.0758 -0.109)
OKLCHoklch(57.13% 0.133 304.8)
XYZxyz(23.1976, 17.3302, 46.3699)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61B6 #8DB661
analogous
#6163B6 #8A61B6 #B561B6
triadic
#8A61B6 #B68A61 #61B68A
tetradic
#8A61B6 #B66163 #8DB661 #61B6B5
square
#8A61B6 #B66163 #8DB661 #61B6B5
split-complementary
#8A61B6 #B6B561 #63B661
monochromatic
#4D316B #6B4595 #8A61B6 #A98BC9 #C8B5DD

Accessibility & contrast

On white

4.70
#8A61B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8A61B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A61B6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61B6#FFFFFF#000000##FFFFFF
##8A61B61.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A72B9
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#836F83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a61b6;
/* rgb */ color: rgb(138, 97, 182);
/* oklch */ color: oklch(57.1% 0.133 304.8);
Tailwind
colors: {
  custom: {
    50: '#ae8fcc',
    500: '#8a61b6',
    950: '#000000',
  },
}
SCSS
$custom: #8a61b6;
$custom-light: #ae8fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61b6",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 182
  },
  "hsl": {
    "h": 268.941,
    "s": 36.797,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.13274,
    "h": 304.8
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#8A61B6
secondary
#BACBA7
accent
#CD5B96
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A61B6

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

Preview Lab → · Contrast checker → · Palette generator →

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