#802BB1#802BB1

#802BB1 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.202 H 309.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#802BB1
RGBrgb(128, 43, 177)
HSLhsl(278, 61%, 43%)
HSVhsv(278, 76%, 69%)
CMYKcmyk(27.7%, 75.7%, 0%, 30.6%)
CIE-LABlab(36.91, 57.45, -54.92)
CIE-LCHlch(36.91, 79.48, 316.29°)
OKLaboklab(48.19% 0.1289 -0.1557)
OKLCHoklch(48.19% 0.202 309.6)
XYZxyz(17.7002, 9.4916, 42.4861)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802BB1 #5CB12B
analogous
#3D2BB1 #802BB1 #B12B9F
triadic
#802BB1 #B1802B #2BB180
tetradic
#802BB1 #B13D2B #5CB12B #2B9FB1
square
#802BB1 #B13D2B #5CB12B #2B9FB1
split-complementary
#802BB1 #9FB12B #2BB13D
monochromatic
#39134F #5C1F80 #802BB1 #9F47D2 #B978DE

Accessibility & contrast

On white

7.25
#802BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#802BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802BB1
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802BB1#FFFFFF#000000##FFFFFF
##802BB11.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#794B6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802bb1;
/* rgb */ color: rgb(128, 43, 177);
/* oklch */ color: oklch(48.2% 0.202 309.6);
Tailwind
colors: {
  custom: {
    50: '#aa6dc9',
    500: '#802bb1',
    950: '#000000',
  },
}
SCSS
$custom: #802bb1;
$custom-light: #aa6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#802bb1",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 278.06,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48194,
    "c": 0.20216,
    "h": 309.6
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#802BB1
secondary
#91C672
accent
#E4447E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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