#8148BE#8148BE

#8148BE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.179 H 303.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8148BE
RGBrgb(129, 72, 190)
HSLhsl(269, 48%, 51%)
HSVhsv(269, 62%, 75%)
CMYKcmyk(32.1%, 62.1%, 0%, 25.5%)
CIE-LABlab(42.79, 47.23, -53.07)
CIE-LCHlch(42.79, 71.04, 311.67°)
OKLaboklab(52.72% 0.0976 -0.1504)
OKLCHoklch(52.72% 0.179 303)
XYZxyz(20.6628, 13.0196, 50.1297)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148BE #85BE48
analogous
#484ABE #8148BE #BC48BE
triadic
#8148BE #BE8148 #48BE81
tetradic
#8148BE #BE484A #85BE48 #48BEBC
square
#8148BE #BE484A #85BE48 #48BEBC
split-complementary
#8148BE #BEBC48 #4ABE48
monochromatic
#452567 #633594 #8148BE #A075CE #BFA2DE

Accessibility & contrast

On white

5.83
#8148BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8148BE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148BE#FFFFFF#000000##FFFFFF
##8148BE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2665BB
Tritanopia (blue-blind)
#75617C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8148be;
/* rgb */ color: rgb(129, 72, 190);
/* oklch */ color: oklch(52.7% 0.179 303.0);
Tailwind
colors: {
  custom: {
    50: '#aa7ed2',
    500: '#8148be',
    950: '#000000',
  },
}
SCSS
$custom: #8148be;
$custom-light: #aa7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8148be",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 268.983,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.17928,
    "h": 303
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#8148BE
secondary
#B2CB97
accent
#D75196
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8148BE

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

Preview Lab → · Contrast checker → · Palette generator →

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