#802EB0#802EB0

#802EB0 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.198 H 309.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#802EB0
RGBrgb(128, 46, 176)
HSLhsl(278, 59%, 44%)
HSVhsv(278, 74%, 69%)
CMYKcmyk(27.3%, 73.9%, 0%, 31%)
CIE-LABlab(37.26, 56.04, -53.76)
CIE-LCHlch(37.26, 77.66, 316.19°)
OKLaboklab(48.41% 0.1263 -0.1524)
OKLCHoklch(48.41% 0.198 309.6)
XYZxyz(17.7140, 9.6781, 42.0008)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EB0 #5EB02E
analogous
#3F2EB0 #802EB0 #B02E9F
triadic
#802EB0 #B0802E #2EB080
tetradic
#802EB0 #B03F2E #5EB02E #2E9FB0
square
#802EB0 #B03F2E #5EB02E #2E9FB0
split-complementary
#802EB0 #9FB02E #2EB03F
monochromatic
#39154F #5D217F #802EB0 #9F4BD0 #B97CDD

Accessibility & contrast

On white

7.15
#802EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#802EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802EB0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802EB0#FFFFFF#000000##FFFFFF
##802EB01.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0C59AD
Tritanopia (blue-blind)
#794C6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #802eb0;
/* rgb */ color: rgb(128, 46, 176);
/* oklch */ color: oklch(48.4% 0.198 309.6);
Tailwind
colors: {
  custom: {
    50: '#a96fc8',
    500: '#802eb0',
    950: '#000000',
  },
}
SCSS
$custom: #802eb0;
$custom-light: #a96fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#802eb0",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 277.846,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.19789,
    "h": 309.6
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#802EB0
secondary
#92C575
accent
#E24680
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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