#802FFF#802FFF

#802FFF is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 55.1% C 0.274 H 292.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#802FFF
RGBrgb(128, 47, 255)
HSLhsl(263, 100%, 59%)
HSVhsv(263, 82%, 100%)
CMYKcmyk(49.8%, 81.6%, 0%, 0%)
CIE-LABlab(44.00, 73.91, -88.18)
CIE-LCHlch(44.00, 115.06, 309.97°)
OKLaboklab(55.14% 0.1039 -0.2534)
OKLCHoklch(55.14% 0.274 292.3)
XYZxyz(27.9635, 13.8412, 95.7866)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802FFF #AEFF2F
analogous
#2F46FF #802FFF #E82FFF
triadic
#802FFF #FF802F #2FFF80
tetradic
#802FFF #FF2F46 #AEFF2F #2FFFE8
square
#802FFF #FF2F46 #AEFF2F #2FFFE8
split-complementary
#802FFF #FFE82F #46FF2F
monochromatic
#4600B4 #5E00F1 #802FFF #A56CFF #CBA9FF

Accessibility & contrast

On white

5.57
#802FFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#802FFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802FFF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802FFF#FFFFFF#000000##FFFFFF
##802FFF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BFF
Deuteranopia (green-blind)
#0064FB
Tritanopia (blue-blind)
#556E9A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #802fff;
/* rgb */ color: rgb(128, 47, 255);
/* oklch */ color: oklch(55.1% 0.274 292.3);
Tailwind
colors: {
  custom: {
    50: '#b173ff',
    500: '#802fff',
    950: '#000000',
  },
}
SCSS
$custom: #802fff;
$custom-light: #b173ff;
$custom-dark: #000000;
JSON
{
  "hex": "#802fff",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 255
  },
  "hsl": {
    "h": 263.365,
    "s": 100,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55144,
    "c": 0.27384,
    "h": 292.3
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#802FFF
secondary
#CEEE9C
accent
#FF29AC
background
#FBF7FF
surface
#F7EDFF
border
#D0C8D7
text
#120918
muted
#817B86

Preview Lab

Preview with #802FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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