#805BB5#805BB5

#805BB5 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.139 H 300.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#805BB5
RGBrgb(128, 91, 181)
HSLhsl(265, 38%, 53%)
HSVhsv(265, 50%, 71%)
CMYKcmyk(29.3%, 49.7%, 0%, 29%)
CIE-LABlab(46.19, 34.13, -42.39)
CIE-LCHlch(46.19, 54.42, 308.84°)
OKLaboklab(55.02% 0.0714 -0.1192)
OKLCHoklch(55.02% 0.139 300.9)
XYZxyz(20.9817, 15.4075, 45.5757)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805BB5 #90B55B
analogous
#5B63B5 #805BB5 #AD5BB5
triadic
#805BB5 #B5805B #5BB580
tetradic
#805BB5 #B55B63 #90B55B #5BB5AD
square
#805BB5 #B55B63 #90B55B #5BB5AD
split-complementary
#805BB5 #B5AD5B #63B55B
monochromatic
#462F67 #624291 #805BB5 #A185C8 #C1AFDB

Accessibility & contrast

On white

5.15
#805BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#805BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #805BB5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805BB5#FFFFFF#000000##FFFFFF
##805BB51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB8
Deuteranopia (green-blind)
#486DB3
Tritanopia (blue-blind)
#766C7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #805bb5;
/* rgb */ color: rgb(128, 91, 181);
/* oklch */ color: oklch(55.0% 0.139 300.9);
Tailwind
colors: {
  custom: {
    50: '#a78acb',
    500: '#805bb5',
    950: '#000000',
  },
}
SCSS
$custom: #805bb5;
$custom-light: #a78acb;
$custom-dark: #000000;
JSON
{
  "hex": "#805bb5",
  "rgb": {
    "r": 128,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 264.667,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55015,
    "c": 0.13895,
    "h": 300.9
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#805BB5
secondary
#B9C9A3
accent
#CE5A9E
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #805BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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