#8026B4#8026B4

#8026B4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.210 H 309.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8026B4
RGBrgb(128, 38, 180)
HSLhsl(278, 65%, 43%)
HSVhsv(278, 79%, 71%)
CMYKcmyk(28.9%, 78.9%, 0%, 29.4%)
CIE-LABlab(36.50, 59.94, -57.37)
CIE-LCHlch(36.50, 82.97, 316.25°)
OKLaboklab(47.97% 0.1326 -0.1629)
OKLCHoklch(47.97% 0.21 309.1)
XYZxyz(17.8317, 9.2710, 44.0213)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026B4 #5AB426
analogous
#3926B4 #8026B4 #B426A1
triadic
#8026B4 #B48026 #26B480
tetradic
#8026B4 #B43926 #5AB426 #26A1B4
square
#8026B4 #B43926 #5AB426 #26A1B4
split-complementary
#8026B4 #A1B426 #26B439
monochromatic
#38114F #5C1B81 #8026B4 #A040D7 #B973E1

Accessibility & contrast

On white

7.36
#8026B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8026B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8026B4
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026B4#FFFFFF#000000##FFFFFF
##8026B41.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#784A6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8026b4;
/* rgb */ color: rgb(128, 38, 180);
/* oklch */ color: oklch(48.0% 0.210 309.1);
Tailwind
colors: {
  custom: {
    50: '#aa6bcb',
    500: '#8026b4',
    950: '#000000',
  },
}
SCSS
$custom: #8026b4;
$custom-light: #aa6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8026b4",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 278.028,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.21003,
    "h": 309.1
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#8026B4
secondary
#8FC96D
accent
#E8407D
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8026B4

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

Preview Lab → · Contrast checker → · Palette generator →

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