#802EB3#802EB3

#802EB3 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.201 H 308.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#802EB3
RGBrgb(128, 46, 179)
HSLhsl(277, 59%, 44%)
HSVhsv(277, 74%, 70%)
CMYKcmyk(28.5%, 74.3%, 0%, 29.8%)
CIE-LABlab(37.48, 56.70, -55.19)
CIE-LCHlch(37.48, 79.12, 315.77°)
OKLaboklab(48.64% 0.1257 -0.1566)
OKLCHoklch(48.64% 0.201 308.8)
XYZxyz(18.0141, 9.7982, 43.5813)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EB3 #61B32E
analogous
#3D2EB3 #802EB3 #B32EA4
triadic
#802EB3 #B3802E #2EB380
tetradic
#802EB3 #B33D2E #61B32E #2EA4B3
square
#802EB3 #B33D2E #61B32E #2EA4B3
split-complementary
#802EB3 #A4B32E #2EB33D
monochromatic
#3A1552 #5D2182 #802EB3 #9F4DD1 #B97EDE

Accessibility & contrast

On white

7.10
#802EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#802EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802EB3
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802EB3#FFFFFF#000000##FFFFFF
##802EB31.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#784D6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #802eb3;
/* rgb */ color: rgb(128, 46, 179);
/* oklch */ color: oklch(48.6% 0.201 308.8);
Tailwind
colors: {
  custom: {
    50: '#aa6fcb',
    500: '#802eb3',
    950: '#000000',
  },
}
SCSS
$custom: #802eb3;
$custom-light: #aa6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#802eb3",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 276.992,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.2008,
    "h": 308.8
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#802EB3
secondary
#95C676
accent
#E24682
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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