#8146BC#8146BC

#8146BC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.180 H 303.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8146BC
RGBrgb(129, 70, 188)
HSLhsl(270, 47%, 51%)
HSVhsv(270, 63%, 74%)
CMYKcmyk(31.4%, 62.8%, 0%, 26.3%)
CIE-LABlab(42.27, 47.78, -52.73)
CIE-LCHlch(42.27, 71.16, 312.18°)
OKLaboklab(52.3% 0.1001 -0.1494)
OKLCHoklch(52.3% 0.18 303.8)
XYZxyz(20.3185, 12.6783, 48.9439)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8146BC #81BC46
analogous
#4646BC #8146BC #BC46BC
triadic
#8146BC #BC8146 #46BC81
tetradic
#8146BC #BC4646 #81BC46 #46BCBC
square
#8146BC #BC4646 #81BC46 #46BCBC
split-complementary
#8146BC #BCBC46 #46BC46
monochromatic
#442464 #623490 #8146BC #A073CC #BEA0DD

Accessibility & contrast

On white

5.94
#8146BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8146BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8146BC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8146BC#FFFFFF#000000##FFFFFF
##8146BC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#2564B9
Tritanopia (blue-blind)
#765F7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8146bc;
/* rgb */ color: rgb(129, 70, 188);
/* oklch */ color: oklch(52.3% 0.180 303.8);
Tailwind
colors: {
  custom: {
    50: '#aa7dd1',
    500: '#8146bc',
    950: '#000000',
  },
}
SCSS
$custom: #8146bc;
$custom-light: #aa7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8146bc",
  "rgb": {
    "r": 129,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.17984,
    "h": 303.8
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#8146BC
secondary
#AFC995
accent
#D65194
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8146BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8146BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva