#8026DD#8026DD

#8026DD is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.4% C 0.248 H 299.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8026DD
RGBrgb(128, 38, 221)
HSLhsl(270, 73%, 51%)
HSVhsv(270, 83%, 87%)
CMYKcmyk(42.1%, 82.8%, 0%, 13.3%)
CIE-LABlab(39.91, 68.97, -75.69)
CIE-LCHlch(39.91, 102.41, 312.34°)
OKLaboklab(51.39% 0.1207 -0.2167)
OKLCHoklch(51.39% 0.248 299.1)
XYZxyz(22.6430, 11.1956, 69.3606)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026DD #83DD26
analogous
#2627DD #8026DD #DB26DD
triadic
#8026DD #DD8026 #26DD80
tetradic
#8026DD #DD2627 #83DD26 #26DDDB
square
#8026DD #DD2627 #83DD26 #26DDDB
split-complementary
#8026DD #DDDB26 #27DD26
monochromatic
#431376 #621BAB #8026DD #9F5BE5 #BE90EE

Accessibility & contrast

On white

6.48
#8026DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8026DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8026DD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026DD#FFFFFF#000000##FFFFFF
##8026DD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#695C85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8026dd;
/* rgb */ color: rgb(128, 38, 221);
/* oklch */ color: oklch(51.4% 0.248 299.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ee9',
    500: '#8026dd',
    950: '#000000',
  },
}
SCSS
$custom: #8026dd;
$custom-light: #ae6ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8026dd",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 221
  },
  "hsl": {
    "h": 269.508,
    "s": 72.908,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.24807,
    "h": 299.1
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#8026DD
secondary
#B0D887
accent
#F03895
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #8026DD

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

Preview Lab → · Contrast checker → · Palette generator →

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