#8026B0#8026B0

#8026B0 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.206 H 310.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8026B0
RGBrgb(128, 38, 176)
HSLhsl(279, 64%, 42%)
HSVhsv(279, 78%, 69%)
CMYKcmyk(27.3%, 78.4%, 0%, 31%)
CIE-LABlab(36.20, 59.09, -55.49)
CIE-LCHlch(36.20, 81.06, 316.80°)
OKLaboklab(47.67% 0.1335 -0.1574)
OKLCHoklch(47.67% 0.206 310.3)
XYZxyz(17.4301, 9.1104, 41.9062)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026B0 #56B026
analogous
#3B26B0 #8026B0 #B0269B
triadic
#8026B0 #B08026 #26B080
tetradic
#8026B0 #B03B26 #56B026 #269BB0
square
#8026B0 #B03B26 #56B026 #269BB0
split-complementary
#8026B0 #9BB026 #26B03B
monochromatic
#37104B #5B1B7E #8026B0 #A13ED5 #B970E0

Accessibility & contrast

On white

7.44
#8026B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8026B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8026B0
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026B0#FFFFFF#000000##FFFFFF
##8026B01.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#79486B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8026b0;
/* rgb */ color: rgb(128, 38, 176);
/* oklch */ color: oklch(47.7% 0.206 310.3);
Tailwind
colors: {
  custom: {
    50: '#aa6bc8',
    500: '#8026b0',
    950: '#000000',
  },
}
SCSS
$custom: #8026b0;
$custom-light: #aa6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8026b0",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 279.13,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.20635,
    "h": 310.3
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#8026B0
secondary
#8BC76B
accent
#E7407A
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8026B0

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

Preview Lab → · Contrast checker → · Palette generator →

#8026B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva