#8A61AF#8A61AF

#8A61AF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.124 H 307.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A61AF
RGBrgb(138, 97, 175)
HSLhsl(272, 33%, 53%)
HSVhsv(272, 45%, 69%)
CMYKcmyk(21.1%, 44.6%, 0%, 31.4%)
CIE-LABlab(48.32, 32.02, -35.44)
CIE-LCHlch(48.32, 47.77, 312.10°)
OKLaboklab(56.75% 0.0747 -0.0987)
OKLCHoklch(56.75% 0.124 307.1)
XYZxyz(22.4923, 17.0480, 42.6548)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61AF #86AF61
analogous
#6361AF #8A61AF #AF61AD
triadic
#8A61AF #AF8A61 #61AF8A
tetradic
#8A61AF #AF6361 #86AF61 #61ADAF
square
#8A61AF #AF6361 #86AF61 #61ADAF
split-complementary
#8A61AF #ADAF61 #61AF63
monochromatic
#4C3263 #6B478C #8A61AF #A88AC4 #C6B2D8

Accessibility & contrast

On white

4.76
#8A61AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8A61AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A61AF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61AF#FFFFFF#000000##FFFFFF
##8A61AF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#856E80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a61af;
/* rgb */ color: rgb(138, 97, 175);
/* oklch */ color: oklch(56.8% 0.124 307.1);
Tailwind
colors: {
  custom: {
    50: '#ae8fc7',
    500: '#8a61af',
    950: '#000000',
  },
}
SCSS
$custom: #8a61af;
$custom-light: #ae8fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61af",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 175
  },
  "hsl": {
    "h": 271.538,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.12383,
    "h": 307.1
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#8A61AF
secondary
#B5C7A5
accent
#C95F91
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A61AF

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

Preview Lab → · Contrast checker → · Palette generator →

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