#8146DC#8146DC

#8146DC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.216 H 296.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8146DC
RGBrgb(129, 70, 220)
HSLhsl(264, 68%, 57%)
HSVhsv(264, 68%, 86%)
CMYKcmyk(41.4%, 68.2%, 0%, 13.7%)
CIE-LABlab(44.54, 55.78, -67.55)
CIE-LCHlch(44.54, 87.60, 309.55°)
OKLaboklab(54.64% 0.0966 -0.193)
OKLCHoklch(54.64% 0.216 296.6)
XYZxyz(24.1583, 14.2143, 69.1671)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8146DC #A1DC46
analogous
#4656DC #8146DC #CC46DC
triadic
#8146DC #DC8146 #46DC81
tetradic
#8146DC #DC4656 #A1DC46 #46DCCC
square
#8146DC #DC4656 #A1DC46 #46DCCC
split-complementary
#8146DC #DCCC46 #56DC46
monochromatic
#481B8D #6224C0 #8146DC #A479E6 #C7ADEF

Accessibility & contrast

On white

5.46
#8146DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8146DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8146DC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8146DC#FFFFFF#000000##FFFFFF
##8146DC1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#6A6A8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8146dc;
/* rgb */ color: rgb(129, 70, 220);
/* oklch */ color: oklch(54.6% 0.216 296.6);
Tailwind
colors: {
  custom: {
    50: '#ac7ee8',
    500: '#8146dc',
    950: '#000000',
  },
}
SCSS
$custom: #8146dc;
$custom-light: #ac7ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8146dc",
  "rgb": {
    "r": 129,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 263.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54643,
    "c": 0.21581,
    "h": 296.6
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#8146DC
secondary
#C5DDA0
accent
#EB3DA6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8146DC

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

Preview Lab → · Contrast checker → · Palette generator →

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