#8A61BD#8A61BD

#8A61BD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.5% C 0.142 H 302.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A61BD
RGBrgb(138, 97, 189)
HSLhsl(267, 41%, 56%)
HSVhsv(267, 49%, 74%)
CMYKcmyk(27%, 48.7%, 0%, 25.9%)
CIE-LABlab(49.04, 35.42, -42.44)
CIE-LCHlch(49.04, 55.28, 309.84°)
OKLaboklab(57.53% 0.0767 -0.1191)
OKLCHoklch(57.53% 0.142 302.8)
XYZxyz(23.9392, 17.6268, 50.2754)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61BD #94BD61
analogous
#6166BD #8A61BD #B861BD
triadic
#8A61BD #BD8A61 #61BD8A
tetradic
#8A61BD #BD6166 #94BD61 #61BDB8
square
#8A61BD #BD6166 #94BD61 #61BDB8
split-complementary
#8A61BD #BDB861 #66BD61
monochromatic
#4E3073 #6B429F #8A61BD #AA8CCF #CAB7E1

Accessibility & contrast

On white

4.64
#8A61BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8A61BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A61BD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61BD#FFFFFF#000000##FFFFFF
##8A61BD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C0
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#817186
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a61bd;
/* rgb */ color: rgb(138, 97, 189);
/* oklch */ color: oklch(57.5% 0.142 302.8);
Tailwind
colors: {
  custom: {
    50: '#ae8fd1',
    500: '#8a61bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a61bd;
$custom-light: #ae8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61bd",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 266.739,
    "s": 41.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.14166,
    "h": 302.8
  },
  "luminance": 0.17627
}

Semantic roles & 50–950 ramp

primary
#8A61BD
secondary
#BFD0AA
accent
#D1579B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A61BD

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

Preview Lab → · Contrast checker → · Palette generator →

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