#8148BD#8148BD

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

Color values

HEX#8148BD
RGBrgb(129, 72, 189)
HSLhsl(269, 47%, 51%)
HSVhsv(269, 62%, 74%)
CMYKcmyk(31.7%, 61.9%, 0%, 25.9%)
CIE-LABlab(42.73, 46.98, -52.59)
CIE-LCHlch(42.73, 70.52, 311.78°)
OKLaboklab(52.65% 0.0976 -0.149)
OKLCHoklch(52.65% 0.178 303.2)
XYZxyz(20.5538, 12.9760, 49.5560)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148BD #84BD48
analogous
#4849BD #8148BD #BB48BD
triadic
#8148BD #BD8148 #48BD81
tetradic
#8148BD #BD4849 #84BD48 #48BDBB
square
#8148BD #BD4849 #84BD48 #48BDBB
split-complementary
#8148BD #BDBB48 #49BD48
monochromatic
#442566 #633593 #8148BD #A075CD #BFA2DD

Accessibility & contrast

On white

5.84
#8148BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8148BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148BD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148BD#FFFFFF#000000##FFFFFF
##8148BD1.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)
#0064C1
Deuteranopia (green-blind)
#2765BA
Tritanopia (blue-blind)
#76607C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8148bd;
/* rgb */ color: rgb(129, 72, 189);
/* oklch */ color: oklch(52.6% 0.178 303.2);
Tailwind
colors: {
  custom: {
    50: '#aa7ed2',
    500: '#8148bd',
    950: '#000000',
  },
}
SCSS
$custom: #8148bd;
$custom-light: #aa7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8148bd",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 269.231,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.17814,
    "h": 303.2
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#8148BD
secondary
#B1CA97
accent
#D75196
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8148BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8148BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva