#8026B7#8026B7

#8026B7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.213 H 308.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8026B7
RGBrgb(128, 38, 183)
HSLhsl(277, 66%, 43%)
HSVhsv(277, 79%, 72%)
CMYKcmyk(30.1%, 79.2%, 0%, 28.2%)
CIE-LABlab(36.73, 60.58, -58.77)
CIE-LCHlch(36.73, 84.40, 315.87°)
OKLaboklab(48.21% 0.1319 -0.167)
OKLCHoklch(48.21% 0.213 308.3)
XYZxyz(18.1407, 9.3946, 45.6483)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026B7 #5DB726
analogous
#3726B7 #8026B7 #B726A5
triadic
#8026B7 #B78026 #26B780
tetradic
#8026B7 #B73726 #5DB726 #26A5B7
square
#8026B7 #B73726 #5DB726 #26A5B7
split-complementary
#8026B7 #A5B726 #26B737
monochromatic
#391152 #5D1B84 #8026B7 #9F42D8 #B975E2

Accessibility & contrast

On white

7.29
#8026B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8026B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8026B7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026B7#FFFFFF#000000##FFFFFF
##8026B71.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#774B6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8026b7;
/* rgb */ color: rgb(128, 38, 183);
/* oklch */ color: oklch(48.2% 0.213 308.3);
Tailwind
colors: {
  custom: {
    50: '#aa6bce',
    500: '#8026b7',
    950: '#000000',
  },
}
SCSS
$custom: #8026b7;
$custom-light: #aa6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#8026b7",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 277.241,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48209,
    "c": 0.21281,
    "h": 308.3
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#8026B7
secondary
#91CA6F
accent
#E93F7F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8026B7

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

Preview Lab → · Contrast checker → · Palette generator →

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