#802BB0#802BB0

#802BB0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.201 H 309.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#802BB0
RGBrgb(128, 43, 176)
HSLhsl(278, 61%, 43%)
HSVhsv(278, 76%, 69%)
CMYKcmyk(27.3%, 75.6%, 0%, 31%)
CIE-LABlab(36.84, 57.23, -54.44)
CIE-LCHlch(36.84, 78.99, 316.43°)
OKLaboklab(48.12% 0.1291 -0.1543)
OKLCHoklch(48.12% 0.201 309.9)
XYZxyz(17.6009, 9.4519, 41.9631)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802BB0 #5BB02B
analogous
#3D2BB0 #802BB0 #B02B9D
triadic
#802BB0 #B0802B #2BB080
tetradic
#802BB0 #B03D2B #5BB02B #2B9DB0
square
#802BB0 #B03D2B #5BB02B #2B9DB0
split-complementary
#802BB0 #9DB02B #2BB03D
monochromatic
#38134E #5C1F7F #802BB0 #A046D2 #B978DE

Accessibility & contrast

On white

7.27
#802BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#802BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802BB0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802BB0#FFFFFF#000000##FFFFFF
##802BB01.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0458AD
Tritanopia (blue-blind)
#794B6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802bb0;
/* rgb */ color: rgb(128, 43, 176);
/* oklch */ color: oklch(48.1% 0.201 309.9);
Tailwind
colors: {
  custom: {
    50: '#aa6dc8',
    500: '#802bb0',
    950: '#000000',
  },
}
SCSS
$custom: #802bb0;
$custom-light: #aa6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#802bb0",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 278.346,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.20121,
    "h": 309.9
  },
  "luminance": 0.09452
}

Semantic roles & 50–950 ramp

primary
#802BB0
secondary
#90C671
accent
#E4447E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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