#8148DC#8148DC

#8148DC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.213 H 296.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8148DC
RGBrgb(129, 72, 220)
HSLhsl(263, 68%, 57%)
HSVhsv(263, 67%, 86%)
CMYKcmyk(41.4%, 67.3%, 0%, 13.7%)
CIE-LABlab(44.90, 54.79, -66.97)
CIE-LCHlch(44.90, 86.52, 309.29°)
OKLaboklab(54.9% 0.0946 -0.1913)
OKLCHoklch(54.9% 0.213 296.3)
XYZxyz(24.2855, 14.4687, 69.2095)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148DC #A3DC48
analogous
#4859DC #8148DC #CB48DC
triadic
#8148DC #DC8148 #48DC81
tetradic
#8148DC #DC4859 #A3DC48 #48DCCB
square
#8148DC #DC4859 #A3DC48 #48DCCB
split-complementary
#8148DC #DCCB48 #59DC48
monochromatic
#481B8E #6125C2 #8148DC #A47BE6 #C8AFF0

Accessibility & contrast

On white

5.39
#8148DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8148DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148DC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148DC#FFFFFF#000000##FFFFFF
##8148DC1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#6A6C8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8148dc;
/* rgb */ color: rgb(129, 72, 220);
/* oklch */ color: oklch(54.9% 0.213 296.3);
Tailwind
colors: {
  custom: {
    50: '#ac7fe8',
    500: '#8148dc',
    950: '#000000',
  },
}
SCSS
$custom: #8148dc;
$custom-light: #ac7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8148dc",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 263.108,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.549,
    "c": 0.21339,
    "h": 296.3
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#8148DC
secondary
#C7DEA2
accent
#EB3DA8
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8148DC

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

Preview Lab → · Contrast checker → · Palette generator →

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