#802CAE#802CAE

#802CAE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 48.1% C 0.198 H 310.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#802CAE
RGBrgb(128, 44, 174)
HSLhsl(279, 60%, 43%)
HSVhsv(279, 75%, 68%)
CMYKcmyk(26.4%, 74.7%, 0%, 31.8%)
CIE-LABlab(36.83, 56.41, -53.27)
CIE-LCHlch(36.83, 77.59, 316.64°)
OKLaboklab(48.07% 0.1285 -0.1509)
OKLCHoklch(48.07% 0.198 310.4)
XYZxyz(17.4413, 9.4469, 40.9408)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CAE #5AAE2C
analogous
#3F2CAE #802CAE #AE2C9B
triadic
#802CAE #AE802C #2CAE80
tetradic
#802CAE #AE3F2C #5AAE2C #2C9BAE
square
#802CAE #AE3F2C #5AAE2C #2C9BAE
split-complementary
#802CAE #9BAE2C #2CAE3F
monochromatic
#38134C #5C207D #802CAE #A047D0 #B978DD

Accessibility & contrast

On white

7.27
#802CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#802CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802CAE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CAE#FFFFFF#000000##FFFFFF
##802CAE1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0E58AB
Tritanopia (blue-blind)
#7A4A6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802cae;
/* rgb */ color: rgb(128, 44, 174);
/* oklch */ color: oklch(48.1% 0.198 310.4);
Tailwind
colors: {
  custom: {
    50: '#a96ec7',
    500: '#802cae',
    950: '#000000',
  },
}
SCSS
$custom: #802cae;
$custom-light: #a96ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#802cae",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 278.769,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48065,
    "c": 0.1982,
    "h": 310.4
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#802CAE
secondary
#8FC571
accent
#E3457D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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