#802FC1#802FC1

#802FC1 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.213 H 304.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#802FC1
RGBrgb(128, 47, 193)
HSLhsl(273, 61%, 47%)
HSVhsv(273, 76%, 76%)
CMYKcmyk(33.7%, 75.6%, 0%, 24.3%)
CIE-LABlab(38.68, 59.43, -61.49)
CIE-LCHlch(38.68, 85.51, 314.02°)
OKLaboklab(49.82% 0.122 -0.1751)
OKLCHoklch(49.82% 0.213 304.9)
XYZxyz(19.5421, 10.4726, 51.4336)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802FC1 #70C12F
analogous
#372FC1 #802FC1 #C12FB9
triadic
#802FC1 #C1802F #2FC180
tetradic
#802FC1 #C1372F #70C12F #2FB9C1
square
#802FC1 #C1372F #70C12F #2FB9C1
split-complementary
#802FC1 #B9C12F #2FC137
monochromatic
#3F175F #5F2390 #802FC1 #9E57D6 #BA88E2

Accessibility & contrast

On white

6.79
#802FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#802FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802FC1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802FC1#FFFFFF#000000##FFFFFF
##802FC11.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#745476
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #802fc1;
/* rgb */ color: rgb(128, 47, 193);
/* oklch */ color: oklch(49.8% 0.213 304.9);
Tailwind
colors: {
  custom: {
    50: '#ab70d5',
    500: '#802fc1',
    950: '#000000',
  },
}
SCSS
$custom: #802fc1;
$custom-light: #ab70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#802fc1",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 273.288,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.21341,
    "h": 304.9
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#802FC1
secondary
#A2CC80
accent
#E4448B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #802FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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