#8A61C2#8A61C2

#8A61C2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.8% C 0.148 H 301.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A61C2
RGBrgb(138, 97, 194)
HSLhsl(265, 44%, 57%)
HSVhsv(265, 50%, 76%)
CMYKcmyk(28.9%, 50%, 0%, 23.9%)
CIE-LABlab(49.31, 36.66, -44.90)
CIE-LCHlch(49.31, 57.97, 309.23°)
OKLaboklab(57.82% 0.0772 -0.1263)
OKLCHoklch(57.82% 0.148 301.4)
XYZxyz(24.4913, 17.8476, 53.1831)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61C2 #99C261
analogous
#6169C2 #8A61C2 #BB61C2
triadic
#8A61C2 #C28A61 #61C28A
tetradic
#8A61C2 #C26169 #99C261 #61C2BB
square
#8A61C2 #C26169 #99C261 #61C2BB
split-complementary
#8A61C2 #C2BB61 #69C261
monochromatic
#4F2F7A #6B40A6 #8A61C2 #AB8DD3 #CBB9E4

Accessibility & contrast

On white

4.60
#8A61C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8A61C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A61C2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61C2#FFFFFF#000000##FFFFFF
##8A61C21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#7F7388
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a61c2;
/* rgb */ color: rgb(138, 97, 194);
/* oklch */ color: oklch(57.8% 0.148 301.4);
Tailwind
colors: {
  custom: {
    50: '#af8fd5',
    500: '#8a61c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a61c2;
$custom-light: #af8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61c2",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 194
  },
  "hsl": {
    "h": 265.361,
    "s": 44.292,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57815,
    "c": 0.14802,
    "h": 301.4
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#8A61C2
secondary
#C2D3AC
accent
#D4549E
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A61C2

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

Preview Lab → · Contrast checker → · Palette generator →

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