#802FC8#802FC8

#802FC8 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.220 H 303.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#802FC8
RGBrgb(128, 47, 200)
HSLhsl(272, 62%, 48%)
HSVhsv(272, 77%, 78%)
CMYKcmyk(36%, 76.5%, 0%, 21.6%)
CIE-LABlab(39.23, 61.02, -64.68)
CIE-LCHlch(39.23, 88.92, 313.33°)
OKLaboklab(50.37% 0.1204 -0.1845)
OKLCHoklch(50.37% 0.22 303.1)
XYZxyz(20.3415, 10.7923, 55.6439)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802FC8 #77C82F
analogous
#342FC8 #802FC8 #C82FC3
triadic
#802FC8 #C8802F #2FC880
tetradic
#802FC8 #C8342F #77C82F #2FC3C8
square
#802FC8 #C8342F #77C82F #2FC3C8
split-complementary
#802FC8 #C3C82F #2FC834
monochromatic
#411865 #602396 #802FC8 #9E5CD9 #BB8DE4

Accessibility & contrast

On white

6.65
#802FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#802FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802FC8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802FC8#FFFFFF#000000##FFFFFF
##802FC81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#71577A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #802fc8;
/* rgb */ color: rgb(128, 47, 200);
/* oklch */ color: oklch(50.4% 0.220 303.1);
Tailwind
colors: {
  custom: {
    50: '#ab70da',
    500: '#802fc8',
    950: '#000000',
  },
}
SCSS
$custom: #802fc8;
$custom-light: #ab70da;
$custom-dark: #000000;
JSON
{
  "hex": "#802fc8",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 271.765,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.22027,
    "h": 303.1
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#802FC8
secondary
#A7CF84
accent
#E5438F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #802FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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