#8A61BC#8A61BC

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

Color values

HEX#8A61BC
RGBrgb(138, 97, 188)
HSLhsl(267, 40%, 56%)
HSVhsv(267, 48%, 74%)
CMYKcmyk(26.6%, 48.4%, 0%, 26.3%)
CIE-LABlab(48.99, 35.17, -41.95)
CIE-LCHlch(48.99, 54.74, 309.98°)
OKLaboklab(57.47% 0.0766 -0.1177)
OKLCHoklch(57.47% 0.14 303.1)
XYZxyz(23.8310, 17.5835, 49.7057)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61BC #93BC61
analogous
#6165BC #8A61BC #B761BC
triadic
#8A61BC #BC8A61 #61BC8A
tetradic
#8A61BC #BC6165 #93BC61 #61BCB7
square
#8A61BC #BC6165 #93BC61 #61BCB7
split-complementary
#8A61BC #BCB761 #65BC61
monochromatic
#4E3072 #6B439D #8A61BC #AA8CCE #CAB7E0

Accessibility & contrast

On white

4.65
#8A61BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8A61BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A61BC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61BC#FFFFFF#000000##FFFFFF
##8A61BC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BF
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#817186
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a61bc;
/* rgb */ color: rgb(138, 97, 188);
/* oklch */ color: oklch(57.5% 0.140 303.1);
Tailwind
colors: {
  custom: {
    50: '#ae8fd0',
    500: '#8a61bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a61bc;
$custom-light: #ae8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61bc",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 267.033,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.14038,
    "h": 303.1
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#8A61BC
secondary
#BECFAA
accent
#D0579A
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A61BC

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

Preview Lab → · Contrast checker → · Palette generator →

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