#8148BC#8148BC

#8148BC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.177 H 303.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8148BC
RGBrgb(129, 72, 188)
HSLhsl(269, 46%, 51%)
HSVhsv(269, 62%, 74%)
CMYKcmyk(31.4%, 61.7%, 0%, 26.3%)
CIE-LABlab(42.66, 46.74, -52.11)
CIE-LCHlch(42.66, 70.00, 311.89°)
OKLaboklab(52.58% 0.0977 -0.1476)
OKLCHoklch(52.58% 0.177 303.5)
XYZxyz(20.4457, 12.9327, 48.9863)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148BC #83BC48
analogous
#4849BC #8148BC #BB48BC
triadic
#8148BC #BC8148 #48BC81
tetradic
#8148BC #BC4849 #83BC48 #48BCBB
square
#8148BC #BC4849 #83BC48 #48BCBB
split-complementary
#8148BC #BCBB48 #49BC48
monochromatic
#442565 #633592 #8148BC #A075CC #BFA2DD

Accessibility & contrast

On white

5.86
#8148BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8148BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148BC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148BC#FFFFFF#000000##FFFFFF
##8148BC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#2965B9
Tritanopia (blue-blind)
#76607B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8148bc;
/* rgb */ color: rgb(129, 72, 188);
/* oklch */ color: oklch(52.6% 0.177 303.5);
Tailwind
colors: {
  custom: {
    50: '#a97ed1',
    500: '#8148bc',
    950: '#000000',
  },
}
SCSS
$custom: #8148bc;
$custom-light: #a97ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8148bc",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 269.483,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.17699,
    "h": 303.5
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#8148BC
secondary
#B0CA96
accent
#D65295
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8148BC

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

Preview Lab → · Contrast checker → · Palette generator →

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