#8026AF#8026AF

#8026AF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.205 H 310.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8026AF
RGBrgb(128, 38, 175)
HSLhsl(279, 64%, 42%)
HSVhsv(279, 78%, 69%)
CMYKcmyk(26.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(36.12, 58.88, -55.01)
CIE-LCHlch(36.12, 80.58, 316.94°)
OKLaboklab(47.59% 0.1337 -0.156)
OKLCHoklch(47.59% 0.205 310.6)
XYZxyz(17.3316, 9.0710, 41.3870)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026AF #55AF26
analogous
#3C26AF #8026AF #AF269A
triadic
#8026AF #AF8026 #26AF80
tetradic
#8026AF #AF3C26 #55AF26 #269AAF
square
#8026AF #AF3C26 #55AF26 #269AAF
split-complementary
#8026AF #9AAF26 #26AF3C
monochromatic
#36104A #5B1B7D #8026AF #A13DD5 #B970E0

Accessibility & contrast

On white

7.46
#8026AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8026AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8026AF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026AF#FFFFFF#000000##FFFFFF
##8026AF1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#79486A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8026af;
/* rgb */ color: rgb(128, 38, 175);
/* oklch */ color: oklch(47.6% 0.205 310.6);
Tailwind
colors: {
  custom: {
    50: '#aa6bc8',
    500: '#8026af',
    950: '#000000',
  },
}
SCSS
$custom: #8026af;
$custom-light: #aa6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8026af",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 279.416,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47588,
    "c": 0.20543,
    "h": 310.6
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#8026AF
secondary
#8AC76A
accent
#E7407A
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8026AF

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

Preview Lab → · Contrast checker → · Palette generator →

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