#802FB0#802FB0

#802FB0 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.197 H 309.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#802FB0
RGBrgb(128, 47, 176)
HSLhsl(278, 58%, 44%)
HSVhsv(278, 73%, 69%)
CMYKcmyk(27.3%, 73.3%, 0%, 31%)
CIE-LABlab(37.40, 55.63, -53.53)
CIE-LCHlch(37.40, 77.20, 316.10°)
OKLaboklab(48.52% 0.1253 -0.1517)
OKLCHoklch(48.52% 0.197 309.6)
XYZxyz(17.7535, 9.7572, 42.0140)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802FB0 #5FB02F
analogous
#3F2FB0 #802FB0 #B02F9F
triadic
#802FB0 #B0802F #2FB080
tetradic
#802FB0 #B03F2F #5FB02F #2F9FB0
square
#802FB0 #B03F2F #5FB02F #2F9FB0
split-complementary
#802FB0 #9FB02F #2FB03F
monochromatic
#3A154F #5D2280 #802FB0 #9F4DCF #B97DDC

Accessibility & contrast

On white

7.12
#802FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#802FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802FB0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802FB0#FFFFFF#000000##FFFFFF
##802FB01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#0F59AD
Tritanopia (blue-blind)
#794D6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #802fb0;
/* rgb */ color: rgb(128, 47, 176);
/* oklch */ color: oklch(48.5% 0.197 309.6);
Tailwind
colors: {
  custom: {
    50: '#a96fc8',
    500: '#802fb0',
    950: '#000000',
  },
}
SCSS
$custom: #802fb0;
$custom-light: #a96fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#802fb0",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 277.674,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48516,
    "c": 0.19673,
    "h": 309.6
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#802FB0
secondary
#93C576
accent
#E14780
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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