#8061BA#8061BA

#8061BA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.4% C 0.136 H 298.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8061BA
RGBrgb(128, 97, 186)
HSLhsl(261, 39%, 55%)
HSVhsv(261, 48%, 73%)
CMYKcmyk(31.2%, 47.8%, 0%, 27.1%)
CIE-LABlab(47.86, 31.92, -42.64)
CIE-LCHlch(47.86, 53.27, 306.81°)
OKLaboklab(56.35% 0.0637 -0.1199)
OKLCHoklch(56.35% 0.136 298)
XYZxyz(22.0376, 16.6835, 48.5041)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8061BA #9BBA61
analogous
#616EBA #8061BA #AC61BA
triadic
#8061BA #BA8061 #61BA80
tetradic
#8061BA #BA616E #9BBA61 #61BAAC
square
#8061BA #BA616E #9BBA61 #61BAAC
split-complementary
#8061BA #BAAC61 #6EBA61
monochromatic
#473170 #62439A #8061BA #A28CCD #C4B6DF

Accessibility & contrast

On white

4.84
#8061BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8061BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8061BA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8061BA#FFFFFF#000000##FFFFFF
##8061BA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#747285
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8061ba;
/* rgb */ color: rgb(128, 97, 186);
/* oklch */ color: oklch(56.4% 0.136 298.0);
Tailwind
colors: {
  custom: {
    50: '#a78ecf',
    500: '#8061ba',
    950: '#000000',
  },
}
SCSS
$custom: #8061ba;
$custom-light: #a78ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8061ba",
  "rgb": {
    "r": 128,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 260.899,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56353,
    "c": 0.13582,
    "h": 298
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#8061BA
secondary
#C1CEA9
accent
#CF59A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8061BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8061BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva