#802BB9#802BB9

#802BB9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.210 H 307.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#802BB9
RGBrgb(128, 43, 185)
HSLhsl(276, 62%, 45%)
HSVhsv(276, 77%, 73%)
CMYKcmyk(30.8%, 76.8%, 0%, 27.5%)
CIE-LABlab(37.52, 59.20, -58.67)
CIE-LCHlch(37.52, 83.35, 315.25°)
OKLaboklab(48.81% 0.1273 -0.1668)
OKLCHoklch(48.81% 0.21 307.3)
XYZxyz(18.5210, 9.8200, 46.8093)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802BB9 #64B92B
analogous
#392BB9 #802BB9 #B92BAB
triadic
#802BB9 #B9802B #2BB980
tetradic
#802BB9 #B9392B #64B92B #2BABB9
square
#802BB9 #B9392B #64B92B #2BABB9
split-complementary
#802BB9 #ABB92B #2BB939
monochromatic
#3B1456 #5E1F87 #802BB9 #9E4CD5 #B97EE1

Accessibility & contrast

On white

7.09
#802BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802BB9
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802BB9#FFFFFF#000000##FFFFFF
##802BB91.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#764E71
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #802bb9;
/* rgb */ color: rgb(128, 43, 185);
/* oklch */ color: oklch(48.8% 0.210 307.3);
Tailwind
colors: {
  custom: {
    50: '#aa6ecf',
    500: '#802bb9',
    950: '#000000',
  },
}
SCSS
$custom: #802bb9;
$custom-light: #aa6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#802bb9",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 275.915,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.2098,
    "h": 307.3
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

primary
#802BB9
secondary
#98C976
accent
#E54284
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #802BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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