#8148D4#8148D4

#8148D4 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.204 H 297.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8148D4
RGBrgb(129, 72, 212)
HSLhsl(264, 62%, 56%)
HSVhsv(264, 66%, 83%)
CMYKcmyk(39.2%, 66%, 0%, 16.9%)
CIE-LABlab(44.31, 52.74, -63.34)
CIE-LCHlch(44.31, 82.43, 309.78°)
OKLaboklab(54.3% 0.0957 -0.1806)
OKLCHoklch(54.3% 0.204 297.9)
XYZxyz(23.2513, 14.0550, 63.7625)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148D4 #9BD448
analogous
#4855D4 #8148D4 #C748D4
triadic
#8148D4 #D48148 #48D481
tetradic
#8148D4 #D44855 #9BD448 #48D4C7
square
#8148D4 #D44855 #9BD448 #48D4C7
split-complementary
#8148D4 #D4C748 #55D448
monochromatic
#481F83 #632AB4 #8148D4 #A37AE0 #C5ABEB

Accessibility & contrast

On white

5.51
#8148D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8148D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148D4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148D4#FFFFFF#000000##FFFFFF
##8148D41.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#6D6988
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8148d4;
/* rgb */ color: rgb(129, 72, 212);
/* oklch */ color: oklch(54.3% 0.204 297.9);
Tailwind
colors: {
  custom: {
    50: '#ac7fe2',
    500: '#8148d4',
    950: '#000000',
  },
}
SCSS
$custom: #8148d4;
$custom-light: #ac7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8148d4",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 264.429,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54296,
    "c": 0.20439,
    "h": 297.9
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#8148D4
secondary
#C1D99F
accent
#E543A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8148D4

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

Preview Lab → · Contrast checker → · Palette generator →

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