#8026B1#8026B1

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

Color values

HEX#8026B1
RGBrgb(128, 38, 177)
HSLhsl(279, 65%, 42%)
HSVhsv(279, 79%, 69%)
CMYKcmyk(27.7%, 78.5%, 0%, 30.6%)
CIE-LABlab(36.27, 59.30, -55.96)
CIE-LCHlch(36.27, 81.53, 316.66°)
OKLaboklab(47.74% 0.1332 -0.1588)
OKLCHoklch(47.74% 0.207 310)
XYZxyz(17.5294, 9.1501, 42.4292)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026B1 #57B126
analogous
#3B26B1 #8026B1 #B1269D
triadic
#8026B1 #B18026 #26B180
tetradic
#8026B1 #B13B26 #57B126 #269DB1
square
#8026B1 #B13B26 #57B126 #269DB1
split-complementary
#8026B1 #9DB126 #26B13B
monochromatic
#37104C #5C1B7F #8026B1 #A03FD6 #B971E0

Accessibility & contrast

On white

7.42
#8026B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8026B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8026B1
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026B1#FFFFFF#000000##FFFFFF
##8026B11.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#79496B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8026b1;
/* rgb */ color: rgb(128, 38, 177);
/* oklch */ color: oklch(47.7% 0.207 310.0);
Tailwind
colors: {
  custom: {
    50: '#aa6bc9',
    500: '#8026b1',
    950: '#000000',
  },
}
SCSS
$custom: #8026b1;
$custom-light: #aa6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8026b1",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 278.849,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47742,
    "c": 0.20727,
    "h": 310
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#8026B1
secondary
#8CC76B
accent
#E8407B
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8026B1

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

Preview Lab → · Contrast checker → · Palette generator →

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