#8A61BB#8A61BB

#8A61BB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.4% C 0.139 H 303.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A61BB
RGBrgb(138, 97, 187)
HSLhsl(267, 40%, 56%)
HSVhsv(267, 48%, 73%)
CMYKcmyk(26.2%, 48.1%, 0%, 26.7%)
CIE-LABlab(48.93, 34.92, -41.45)
CIE-LCHlch(48.93, 54.20, 310.11°)
OKLaboklab(57.41% 0.0765 -0.1162)
OKLCHoklch(57.41% 0.139 303.3)
XYZxyz(23.7236, 17.5406, 49.1399)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61BB #92BB61
analogous
#6165BB #8A61BB #B761BB
triadic
#8A61BB #BB8A61 #61BB8A
tetradic
#8A61BB #BB6165 #92BB61 #61BBB7
square
#8A61BB #BB6165 #92BB61 #61BBB7
split-complementary
#8A61BB #BBB761 #65BB61
monochromatic
#4E3171 #6B439C #8A61BB #AA8CCD #C9B7E0

Accessibility & contrast

On white

4.66
#8A61BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A61BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A61BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61BB#FFFFFF#000000##FFFFFF
##8A61BB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#817185
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a61bb;
/* rgb */ color: rgb(138, 97, 187);
/* oklch */ color: oklch(57.4% 0.139 303.3);
Tailwind
colors: {
  custom: {
    50: '#ae8fd0',
    500: '#8a61bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a61bb;
$custom-light: #ae8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61bb",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 267.333,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57412,
    "c": 0.13911,
    "h": 303.3
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#8A61BB
secondary
#BECFA9
accent
#D05899
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8A61BB

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

Preview Lab → · Contrast checker → · Palette generator →

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