#8A61BE#8A61BE

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

Color values

HEX#8A61BE
RGBrgb(138, 97, 190)
HSLhsl(266, 42%, 56%)
HSVhsv(266, 49%, 75%)
CMYKcmyk(27.4%, 48.9%, 0%, 25.5%)
CIE-LABlab(49.09, 35.66, -42.94)
CIE-LCHlch(49.09, 55.82, 309.71°)
OKLaboklab(57.58% 0.0768 -0.1205)
OKLCHoklch(57.58% 0.143 302.5)
XYZxyz(24.0481, 17.6704, 50.8490)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61BE #95BE61
analogous
#6167BE #8A61BE #B961BE
triadic
#8A61BE #BE8A61 #61BE8A
tetradic
#8A61BE #BE6167 #95BE61 #61BEB9
square
#8A61BE #BE6167 #95BE61 #61BEB9
split-complementary
#8A61BE #BEB961 #67BE61
monochromatic
#4E3075 #6B42A0 #8A61BE #AA8CD0 #CAB8E2

Accessibility & contrast

On white

4.63
#8A61BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A61BE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61BE#FFFFFF#000000##FFFFFF
##8A61BE1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#817286
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a61be;
/* rgb */ color: rgb(138, 97, 190);
/* oklch */ color: oklch(57.6% 0.143 302.5);
Tailwind
colors: {
  custom: {
    50: '#ae8fd2',
    500: '#8a61be',
    950: '#000000',
  },
}
SCSS
$custom: #8a61be;
$custom-light: #ae8fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61be",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 190
  },
  "hsl": {
    "h": 266.452,
    "s": 41.704,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.14293,
    "h": 302.5
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#8A61BE
secondary
#C0D1AA
accent
#D2569B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A61BE

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

Preview Lab → · Contrast checker → · Palette generator →

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