#8F61BA#8F61BA

#8F61BA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.9% C 0.139 H 306.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8F61BA
RGBrgb(143, 97, 186)
HSLhsl(271, 39%, 55%)
HSVhsv(271, 48%, 73%)
CMYKcmyk(23.1%, 47.8%, 0%, 27.1%)
CIE-LABlab(49.42, 36.08, -40.08)
CIE-LCHlch(49.42, 53.93, 312.00°)
OKLaboklab(57.88% 0.0826 -0.1121)
OKLCHoklch(57.88% 0.139 306.4)
XYZxyz(24.4635, 17.9344, 48.6178)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F61BA #8CBA61
analogous
#6261BA #8F61BA #BA61B8
triadic
#8F61BA #BA8F61 #61BA8F
tetradic
#8F61BA #BA6261 #8CBA61 #61B8BA
square
#8F61BA #BA6261 #8CBA61 #61B8BA
split-complementary
#8F61BA #B8BA61 #61BA62
monochromatic
#513170 #70439A #8F61BA #AD8CCD #CBB6DF

Accessibility & contrast

On white

4.58
#8F61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8F61BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F61BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F61BA#FFFFFF#000000##000000
##8F61BA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#887085
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f61ba;
/* rgb */ color: rgb(143, 97, 186);
/* oklch */ color: oklch(57.9% 0.139 306.4);
Tailwind
colors: {
  custom: {
    50: '#b28fcf',
    500: '#8f61ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f61ba;
$custom-light: #b28fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f61ba",
  "rgb": {
    "r": 143,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 271.011,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.13923,
    "h": 306.4
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#8F61BA
secondary
#BBCEA9
accent
#CF5992
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8F61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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