#802BB6#802BB6

#802BB6 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.207 H 308.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#802BB6
RGBrgb(128, 43, 182)
HSLhsl(277, 62%, 44%)
HSVhsv(277, 76%, 71%)
CMYKcmyk(29.7%, 76.4%, 0%, 28.6%)
CIE-LABlab(37.29, 58.54, -57.27)
CIE-LCHlch(37.29, 81.90, 315.63°)
OKLaboklab(48.58% 0.1279 -0.1627)
OKLCHoklch(48.58% 0.207 308.2)
XYZxyz(18.2077, 9.6946, 45.1590)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802BB6 #61B62B
analogous
#3B2BB6 #802BB6 #B62BA7
triadic
#802BB6 #B6802B #2BB680
tetradic
#802BB6 #B63B2B #61B62B #2BA7B6
square
#802BB6 #B63B2B #61B62B #2BA7B6
split-complementary
#802BB6 #A7B62B #2BB63B
monochromatic
#3A1453 #5D1F84 #802BB6 #9F4AD4 #B97BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802BB6#FFFFFF#000000##FFFFFF
##802BB61.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)
#0055BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#774D6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #802bb6;
/* rgb */ color: rgb(128, 43, 182);
/* oklch */ color: oklch(48.6% 0.207 308.2);
Tailwind
colors: {
  custom: {
    50: '#aa6ecd',
    500: '#802bb6',
    950: '#000000',
  },
}
SCSS
$custom: #802bb6;
$custom-light: #aa6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#802bb6",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 276.691,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.20693,
    "h": 308.2
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#802BB6
secondary
#95C875
accent
#E54382
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #802BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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