#802BBD#802BBD

#802BBD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.214 H 306.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#802BBD
RGBrgb(128, 43, 189)
HSLhsl(275, 63%, 45%)
HSVhsv(275, 77%, 74%)
CMYKcmyk(32.3%, 77.2%, 0%, 25.9%)
CIE-LABlab(37.83, 60.08, -60.53)
CIE-LCHlch(37.83, 85.28, 314.79°)
OKLaboklab(49.12% 0.1264 -0.1722)
OKLCHoklch(49.12% 0.214 306.3)
XYZxyz(18.9493, 9.9913, 49.0645)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802BBD #68BD2B
analogous
#372BBD #802BBD #BD2BB1
triadic
#802BBD #BD802B #2BBD80
tetradic
#802BBD #BD372B #68BD2B #2BB1BD
square
#802BBD #BD372B #68BD2B #2BB1BD
split-complementary
#802BBD #B1BD2B #2BBD37
monochromatic
#3C1459 #5E208B #802BBD #9E4ED7 #B980E2

Accessibility & contrast

On white

7.00
#802BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#802BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802BBD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802BBD#FFFFFF#000000##FFFFFF
##802BBD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#755073
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #802bbd;
/* rgb */ color: rgb(128, 43, 189);
/* oklch */ color: oklch(49.1% 0.214 306.3);
Tailwind
colors: {
  custom: {
    50: '#aa6ed2',
    500: '#802bbd',
    950: '#000000',
  },
}
SCSS
$custom: #802bbd;
$custom-light: #aa6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#802bbd",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 274.932,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.21361,
    "h": 306.3
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#802BBD
secondary
#9BCB79
accent
#E64286
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #802BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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