#802ABF#802ABF

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

Color values

HEX#802ABF
RGBrgb(128, 42, 191)
HSLhsl(275, 64%, 46%)
HSVhsv(275, 78%, 75%)
CMYKcmyk(33%, 78%, 0%, 25.1%)
CIE-LABlab(37.85, 60.90, -61.66)
CIE-LCHlch(37.85, 86.66, 314.64°)
OKLaboklab(49.19% 0.1267 -0.1755)
OKLCHoklch(49.19% 0.216 305.8)
XYZxyz(19.1319, 10.0069, 50.2037)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802ABF #69BF2A
analogous
#362ABF #802ABF #BF2AB3
triadic
#802ABF #BF802A #2ABF80
tetradic
#802ABF #BF362A #69BF2A #2AB3BF
square
#802ABF #BF362A #69BF2A #2AB3BF
split-complementary
#802ABF #B3BF2A #2ABF36
monochromatic
#3D145B #5E1F8D #802ABF #9E4ED8 #B980E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802ABF#FFFFFF#000000##FFFFFF
##802ABF1.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)
#0057C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#745174
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #802abf;
/* rgb */ color: rgb(128, 42, 191);
/* oklch */ color: oklch(49.2% 0.216 305.8);
Tailwind
colors: {
  custom: {
    50: '#ab6ed3',
    500: '#802abf',
    950: '#000000',
  },
}
SCSS
$custom: #802abf;
$custom-light: #ab6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#802abf",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 274.631,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4919,
    "c": 0.21649,
    "h": 305.8
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#802ABF
secondary
#9CCC79
accent
#E74187
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #802ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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