#802CD3#802CD3

#802CD3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.0% C 0.234 H 300.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#802CD3
RGBrgb(128, 44, 211)
HSLhsl(270, 65%, 50%)
HSVhsv(270, 79%, 83%)
CMYKcmyk(39.3%, 79.1%, 0%, 17.3%)
CIE-LABlab(39.74, 64.68, -70.22)
CIE-LCHlch(39.74, 95.47, 312.65°)
OKLaboklab(51.01% 0.1198 -0.2007)
OKLCHoklch(51.01% 0.234 300.8)
XYZxyz(21.5577, 11.0935, 62.6209)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CD3 #7FD32C
analogous
#2D2CD3 #802CD3 #D32CD2
triadic
#802CD3 #D3802C #2CD380
tetradic
#802CD3 #D32D2C #7FD32C #2CD2D3
square
#802CD3 #D32D2C #7FD32C #2CD2D3
split-complementary
#802CD3 #D2D32C #2CD32D
monochromatic
#43176E #6121A0 #802CD3 #9E5FDE #BD91E8

Accessibility & contrast

On white

6.52
#802CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#802CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802CD3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CD3#FFFFFF#000000##FFFFFF
##802CD31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD8
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#6D5A80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #802cd3;
/* rgb */ color: rgb(128, 44, 211);
/* oklch */ color: oklch(51.0% 0.234 300.8);
Tailwind
colors: {
  custom: {
    50: '#ac70e2',
    500: '#802cd3',
    950: '#000000',
  },
}
SCSS
$custom: #802cd3;
$custom-light: #ac70e2;
$custom-dark: #000000;
JSON
{
  "hex": "#802cd3",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 211
  },
  "hsl": {
    "h": 270.18,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.23377,
    "h": 300.8
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#802CD3
secondary
#ADD388
accent
#E83F93
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110815
muted
#807B84

Preview Lab

Preview with #802CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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