#8149BA#8149BA

#8149BA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.173 H 303.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8149BA
RGBrgb(129, 73, 186)
HSLhsl(270, 45%, 51%)
HSVhsv(270, 61%, 73%)
CMYKcmyk(30.6%, 60.8%, 0%, 27.1%)
CIE-LABlab(42.73, 45.72, -50.83)
CIE-LCHlch(42.73, 68.36, 311.97°)
OKLaboklab(52.59% 0.0965 -0.1439)
OKLCHoklch(52.59% 0.173 303.9)
XYZxyz(20.2967, 12.9774, 47.8805)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8149BA #82BA49
analogous
#4949BA #8149BA #BA49BA
triadic
#8149BA #BA8149 #49BA81
tetradic
#8149BA #BA4949 #82BA49 #49BABA
square
#8149BA #BA4949 #82BA49 #49BABA
split-complementary
#8149BA #BABA49 #49BA49
monochromatic
#442663 #63368F #8149BA #A075CB #BEA2DC

Accessibility & contrast

On white

5.84
#8149BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8149BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8149BA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8149BA#FFFFFF#000000##FFFFFF
##8149BA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BE
Deuteranopia (green-blind)
#2D65B7
Tritanopia (blue-blind)
#76607A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8149ba;
/* rgb */ color: rgb(129, 73, 186);
/* oklch */ color: oklch(52.6% 0.173 303.9);
Tailwind
colors: {
  custom: {
    50: '#a97ecf',
    500: '#8149ba',
    950: '#000000',
  },
}
SCSS
$custom: #8149ba;
$custom-light: #a97ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8149ba",
  "rgb": {
    "r": 129,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 269.735,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.17323,
    "h": 303.9
  },
  "luminance": 0.12977
}

Semantic roles & 50–950 ramp

primary
#8149BA
secondary
#B0C896
accent
#D55394
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8149BA

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

Preview Lab → · Contrast checker → · Palette generator →

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