#8026B3#8026B3

#8026B3 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.209 H 309.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8026B3
RGBrgb(128, 38, 179)
HSLhsl(278, 65%, 43%)
HSVhsv(278, 79%, 70%)
CMYKcmyk(28.5%, 78.8%, 0%, 29.8%)
CIE-LABlab(36.42, 59.72, -56.90)
CIE-LCHlch(36.42, 82.49, 316.39°)
OKLaboklab(47.9% 0.1328 -0.1615)
OKLCHoklch(47.9% 0.209 309.4)
XYZxyz(17.7302, 9.2304, 43.4867)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026B3 #59B326
analogous
#3A26B3 #8026B3 #B3269F
triadic
#8026B3 #B38026 #26B380
tetradic
#8026B3 #B33A26 #59B326 #269FB3
square
#8026B3 #B33A26 #59B326 #269FB3
split-complementary
#8026B3 #9FB326 #26B33A
monochromatic
#38114E #5C1B81 #8026B3 #A040D6 #B972E1

Accessibility & contrast

On white

7.38
#8026B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8026B3
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026B3#FFFFFF#000000##FFFFFF
##8026B31.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#784A6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8026b3;
/* rgb */ color: rgb(128, 38, 179);
/* oklch */ color: oklch(47.9% 0.209 309.4);
Tailwind
colors: {
  custom: {
    50: '#aa6bcb',
    500: '#8026b3',
    950: '#000000',
  },
}
SCSS
$custom: #8026b3;
$custom-light: #aa6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8026b3",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 278.298,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47896,
    "c": 0.20912,
    "h": 309.4
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8026B3

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

Preview Lab → · Contrast checker → · Palette generator →

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