#801FBB#801FBB

#801FBB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.222 H 307.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#801FBB
RGBrgb(128, 31, 187)
HSLhsl(277, 72%, 43%)
HSVhsv(277, 83%, 73%)
CMYKcmyk(31.6%, 83.4%, 0%, 26.7%)
CIE-LABlab(36.29, 63.66, -61.86)
CIE-LCHlch(36.29, 88.77, 315.82°)
OKLaboklab(48% 0.1359 -0.1761)
OKLCHoklch(48% 0.222 307.7)
XYZxyz(18.3598, 9.1573, 47.8044)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801FBB #5ABB1F
analogous
#321FBB #801FBB #BB1FA8
triadic
#801FBB #BB801F #1FBB80
tetradic
#801FBB #BB321F #5ABB1F #1FA8BB
square
#801FBB #BB321F #5ABB1F #1FA8BB
split-complementary
#801FBB #A8BB1F #1FBB32
monochromatic
#380E52 #5C1687 #801FBB #A039DE #B96EE7

Accessibility & contrast

On white

7.42
#801FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#801FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801FBB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801FBB#FFFFFF#000000##FFFFFF
##801FBB1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#764A70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #801fbb;
/* rgb */ color: rgb(128, 31, 187);
/* oklch */ color: oklch(48.0% 0.222 307.7);
Tailwind
colors: {
  custom: {
    50: '#ab69d0',
    500: '#801fbb',
    950: '#000000',
  },
}
SCSS
$custom: #801fbb;
$custom-light: #ab69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#801fbb",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 187
  },
  "hsl": {
    "h": 277.308,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47996,
    "c": 0.2224,
    "h": 307.7
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#801FBB
secondary
#8FCD69
accent
#EE3A7E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #801FBB

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

Preview Lab → · Contrast checker → · Palette generator →

#801FBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva