#8148BF#8148BF

#8148BF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.180 H 302.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8148BF
RGBrgb(129, 72, 191)
HSLhsl(269, 48%, 52%)
HSVhsv(269, 62%, 75%)
CMYKcmyk(32.5%, 62.3%, 0%, 25.1%)
CIE-LABlab(42.86, 47.47, -53.54)
CIE-LCHlch(42.86, 71.56, 311.56°)
OKLaboklab(52.79% 0.0975 -0.1518)
OKLCHoklch(52.79% 0.18 302.7)
XYZxyz(20.7724, 13.0634, 50.7073)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148BF #86BF48
analogous
#484BBF #8148BF #BC48BF
triadic
#8148BF #BF8148 #48BF81
tetradic
#8148BF #BF484B #86BF48 #48BFBC
square
#8148BF #BF484B #86BF48 #48BFBC
split-complementary
#8148BF #BFBC48 #4BBF48
monochromatic
#452468 #633496 #8148BF #A075CF #BFA3DF

Accessibility & contrast

On white

5.81
#8148BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8148BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148BF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148BF#FFFFFF#000000##FFFFFF
##8148BF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#75617D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8148bf;
/* rgb */ color: rgb(129, 72, 191);
/* oklch */ color: oklch(52.8% 0.180 302.7);
Tailwind
colors: {
  custom: {
    50: '#aa7ed3',
    500: '#8148bf',
    950: '#000000',
  },
}
SCSS
$custom: #8148bf;
$custom-light: #aa7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8148bf",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 268.739,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.18043,
    "h": 302.7
  },
  "luminance": 0.13063
}

Semantic roles & 50–950 ramp

primary
#8148BF
secondary
#B3CC97
accent
#D85097
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8148BF

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

Preview Lab → · Contrast checker → · Palette generator →

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