#802EB8#802EB8

#802EB8 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.206 H 307.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#802EB8
RGBrgb(128, 46, 184)
HSLhsl(276, 60%, 45%)
HSVhsv(276, 75%, 72%)
CMYKcmyk(30.4%, 75%, 0%, 27.8%)
CIE-LABlab(37.85, 57.81, -57.54)
CIE-LCHlch(37.85, 81.57, 315.13°)
OKLaboklab(49.02% 0.1248 -0.1635)
OKLCHoklch(49.02% 0.206 307.4)
XYZxyz(18.5290, 10.0041, 46.2930)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EB8 #66B82E
analogous
#3B2EB8 #802EB8 #B82EAB
triadic
#802EB8 #B8802E #2EB880
tetradic
#802EB8 #B83B2E #66B82E #2EABB8
square
#802EB8 #B83B2E #66B82E #2EABB8
split-complementary
#802EB8 #ABB82E #2EB83B
monochromatic
#3C1656 #5E2287 #802EB8 #9E50D3 #B981DF

Accessibility & contrast

On white

7.00
#802EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#802EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802EB8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802EB8#FFFFFF#000000##FFFFFF
##802EB81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#775071
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #802eb8;
/* rgb */ color: rgb(128, 46, 184);
/* oklch */ color: oklch(49.0% 0.206 307.4);
Tailwind
colors: {
  custom: {
    50: '#aa6fce',
    500: '#802eb8',
    950: '#000000',
  },
}
SCSS
$custom: #802eb8;
$custom-light: #aa6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#802eb8",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 275.652,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49018,
    "c": 0.20567,
    "h": 307.4
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

primary
#802EB8
secondary
#99C879
accent
#E34585
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #802EB8

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

Preview Lab → · Contrast checker → · Palette generator →

#802EB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva