#8A61BF#8A61BF

#8A61BF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.6% C 0.144 H 302.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A61BF
RGBrgb(138, 97, 191)
HSLhsl(266, 42%, 56%)
HSVhsv(266, 49%, 75%)
CMYKcmyk(27.7%, 49.2%, 0%, 25.1%)
CIE-LABlab(49.15, 35.91, -43.43)
CIE-LCHlch(49.15, 56.35, 309.59°)
OKLaboklab(57.64% 0.0769 -0.122)
OKLCHoklch(57.64% 0.144 302.2)
XYZxyz(24.1578, 17.7142, 51.4266)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61BF #96BF61
analogous
#6167BF #8A61BF #B961BF
triadic
#8A61BF #BF8A61 #61BF8A
tetradic
#8A61BF #BF6167 #96BF61 #61BFB9
square
#8A61BF #BF6167 #96BF61 #61BFB9
split-complementary
#8A61BF #BFB961 #67BF61
monochromatic
#4E3076 #6B41A1 #8A61BF #AA8DD1 #CBB8E2

Accessibility & contrast

On white

4.62
#8A61BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8A61BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A61BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61BF#FFFFFF#000000##FFFFFF
##8A61BF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#4F75BD
Tritanopia (blue-blind)
#807287
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a61bf;
/* rgb */ color: rgb(138, 97, 191);
/* oklch */ color: oklch(57.6% 0.144 302.2);
Tailwind
colors: {
  custom: {
    50: '#ae8fd3',
    500: '#8a61bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a61bf;
$custom-light: #ae8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61bf",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 266.17,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57641,
    "c": 0.1442,
    "h": 302.2
  },
  "luminance": 0.17714
}

Semantic roles & 50–950 ramp

primary
#8A61BF
secondary
#C0D1AB
accent
#D2569C
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A61BF

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

Preview Lab → · Contrast checker → · Palette generator →

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