#8A61B3#8A61B3

#8A61B3 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.0% C 0.129 H 305.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A61B3
RGBrgb(138, 97, 179)
HSLhsl(270, 35%, 54%)
HSVhsv(270, 46%, 70%)
CMYKcmyk(22.9%, 45.8%, 0%, 29.8%)
CIE-LABlab(48.52, 32.98, -37.46)
CIE-LCHlch(48.52, 49.91, 311.36°)
OKLaboklab(56.97% 0.0754 -0.1046)
OKLCHoklch(56.97% 0.129 305.8)
XYZxyz(22.8909, 17.2075, 44.7545)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61B3 #8AB361
analogous
#6161B3 #8A61B3 #B361B3
triadic
#8A61B3 #B38A61 #61B38A
tetradic
#8A61B3 #B36161 #8AB361 #61B3B3
square
#8A61B3 #B36161 #8AB361 #61B3B3
split-complementary
#8A61B3 #B3B361 #61B361
monochromatic
#4D3268 #6B4691 #8A61B3 #A98AC7 #C7B4DB

Accessibility & contrast

On white

4.73
#8A61B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8A61B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A61B3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61B3#FFFFFF#000000##FFFFFF
##8A61B31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#846F81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a61b3;
/* rgb */ color: rgb(138, 97, 179);
/* oklch */ color: oklch(57.0% 0.129 305.8);
Tailwind
colors: {
  custom: {
    50: '#ae8fca',
    500: '#8a61b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a61b3;
$custom-light: #ae8fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61b3",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 270,
    "s": 35.043,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56968,
    "c": 0.12892,
    "h": 305.8
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#8A61B3
secondary
#B8C9A6
accent
#CB5D94
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A61B3

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

Preview Lab → · Contrast checker → · Palette generator →

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