#8029BA#8029BA

#8029BA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.213 H 307.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8029BA
RGBrgb(128, 41, 186)
HSLhsl(276, 64%, 45%)
HSVhsv(276, 78%, 73%)
CMYKcmyk(31.2%, 78%, 0%, 27.1%)
CIE-LABlab(37.34, 60.16, -59.56)
CIE-LCHlch(37.34, 84.66, 315.29°)
OKLaboklab(48.7% 0.1287 -0.1694)
OKLCHoklch(48.7% 0.213 307.2)
XYZxyz(18.5560, 9.7205, 47.3436)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8029BA #63BA29
analogous
#3729BA #8029BA #BA29AC
triadic
#8029BA #BA8029 #29BA80
tetradic
#8029BA #BA3729 #63BA29 #29ACBA
square
#8029BA #BA3729 #63BA29 #29ACBA
split-complementary
#8029BA #ACBA29 #29BA37
monochromatic
#3B1356 #5D1E88 #8029BA #9E49D7 #B97BE2

Accessibility & contrast

On white

7.13
#8029BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8029BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8029BA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8029BA#FFFFFF#000000##FFFFFF
##8029BA1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#764E71
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8029ba;
/* rgb */ color: rgb(128, 41, 186);
/* oklch */ color: oklch(48.7% 0.213 307.2);
Tailwind
colors: {
  custom: {
    50: '#aa6dd0',
    500: '#8029ba',
    950: '#000000',
  },
}
SCSS
$custom: #8029ba;
$custom-light: #aa6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8029ba",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 276,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48704,
    "c": 0.21273,
    "h": 307.2
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#8029BA
secondary
#97CA75
accent
#E74183
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8029BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8029BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva