#802FC2#802FC2

#802FC2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.214 H 304.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#802FC2
RGBrgb(128, 47, 194)
HSLhsl(273, 61%, 47%)
HSVhsv(273, 76%, 76%)
CMYKcmyk(34%, 75.8%, 0%, 23.9%)
CIE-LABlab(38.76, 59.66, -61.95)
CIE-LCHlch(38.76, 86.00, 313.92°)
OKLaboklab(49.9% 0.1218 -0.1764)
OKLCHoklch(49.9% 0.214 304.6)
XYZxyz(19.6540, 10.5174, 52.0231)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802FC2 #71C22F
analogous
#362FC2 #802FC2 #C22FBB
triadic
#802FC2 #C2802F #2FC280
tetradic
#802FC2 #C2362F #71C22F #2FBBC2
square
#802FC2 #C2362F #71C22F #2FBBC2
split-complementary
#802FC2 #BBC22F #2FC236
monochromatic
#3F175F #5F2391 #802FC2 #9E58D6 #BA89E2

Accessibility & contrast

On white

6.77
#802FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#802FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802FC2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802FC2#FFFFFF#000000##FFFFFF
##802FC21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#735477
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #802fc2;
/* rgb */ color: rgb(128, 47, 194);
/* oklch */ color: oklch(49.9% 0.214 304.6);
Tailwind
colors: {
  custom: {
    50: '#ab70d5',
    500: '#802fc2',
    950: '#000000',
  },
}
SCSS
$custom: #802fc2;
$custom-light: #ab70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#802fc2",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 273.061,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49895,
    "c": 0.21439,
    "h": 304.6
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#802FC2
secondary
#A3CC81
accent
#E4448C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #802FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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