#805AB2#805AB2

#805AB2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.137 H 302.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#805AB2
RGBrgb(128, 90, 178)
HSLhsl(266, 36%, 53%)
HSVhsv(266, 49%, 70%)
CMYKcmyk(28.1%, 49.4%, 0%, 30.2%)
CIE-LABlab(45.79, 33.96, -41.26)
CIE-LCHlch(45.79, 53.44, 309.45°)
OKLaboklab(54.67% 0.0725 -0.1159)
OKLCHoklch(54.67% 0.137 302)
XYZxyz(20.5923, 15.1158, 43.9436)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805AB2 #8CB25A
analogous
#5A60B2 #805AB2 #AC5AB2
triadic
#805AB2 #B2805A #5AB280
tetradic
#805AB2 #B25A60 #8CB25A #5AB2AC
square
#805AB2 #B25A60 #8CB25A #5AB2AC
split-complementary
#805AB2 #B2AC5A #60B25A
monochromatic
#452E63 #62428D #805AB2 #A084C5 #C0ADD9

Accessibility & contrast

On white

5.22
#805AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#805AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #805AB2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805AB2#FFFFFF#000000##FFFFFF
##805AB21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#776A7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #805ab2;
/* rgb */ color: rgb(128, 90, 178);
/* oklch */ color: oklch(54.7% 0.137 302.0);
Tailwind
colors: {
  custom: {
    50: '#a789c9',
    500: '#805ab2',
    950: '#000000',
  },
}
SCSS
$custom: #805ab2;
$custom-light: #a789c9;
$custom-dark: #000000;
JSON
{
  "hex": "#805ab2",
  "rgb": {
    "r": 128,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 265.909,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54667,
    "c": 0.13669,
    "h": 302
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#805AB2
secondary
#B7C7A1
accent
#CC5B9C
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #805AB2

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

Preview Lab → · Contrast checker → · Palette generator →

#805AB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva