#802EBB#802EBB

#802EBB is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.209 H 306.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#802EBB
RGBrgb(128, 46, 187)
HSLhsl(275, 61%, 46%)
HSVhsv(275, 75%, 73%)
CMYKcmyk(31.6%, 75.4%, 0%, 26.7%)
CIE-LABlab(38.08, 58.48, -58.94)
CIE-LCHlch(38.08, 83.03, 314.77°)
OKLaboklab(49.25% 0.1242 -0.1676)
OKLCHoklch(49.25% 0.209 306.5)
XYZxyz(18.8468, 10.1312, 47.9667)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EBB #69BB2E
analogous
#3A2EBB #802EBB #BB2EAF
triadic
#802EBB #BB802E #2EBB80
tetradic
#802EBB #BB3A2E #69BB2E #2EAFBB
square
#802EBB #BB3A2E #69BB2E #2EAFBB
split-complementary
#802EBB #AFBB2E #2EBB3A
monochromatic
#3D1659 #5E228A #802EBB #9E52D4 #B983E0

Accessibility & contrast

On white

6.94
#802EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#802EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802EBB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802EBB#FFFFFF#000000##FFFFFF
##802EBB1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#765173
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #802ebb;
/* rgb */ color: rgb(128, 46, 187);
/* oklch */ color: oklch(49.2% 0.209 306.5);
Tailwind
colors: {
  custom: {
    50: '#aa6fd0',
    500: '#802ebb',
    950: '#000000',
  },
}
SCSS
$custom: #802ebb;
$custom-light: #aa6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#802ebb",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 274.894,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.20859,
    "h": 306.5
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#802EBB
secondary
#9CCA7B
accent
#E44487
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #802EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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