#805AEB#805AEB

#805AEB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.208 H 290.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#805AEB
RGBrgb(128, 90, 235)
HSLhsl(256, 78%, 64%)
HSVhsv(256, 62%, 92%)
CMYKcmyk(45.5%, 61.7%, 0%, 7.8%)
CIE-LABlab(49.37, 49.12, -68.20)
CIE-LCHlch(49.37, 84.04, 305.76°)
OKLaboklab(58.45% 0.0731 -0.195)
OKLCHoklch(58.45% 0.208 290.6)
XYZxyz(27.5494, 17.8987, 80.5844)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805AEB #C5EB5A
analogous
#5A7CEB #805AEB #C85AEB
triadic
#805AEB #EB805A #5AEB80
tetradic
#805AEB #EB5A7C #C5EB5A #5AEBC8
square
#805AEB #EB5A7C #C5EB5A #5AEBC8
split-complementary
#805AEB #EBC85A #7CEB5A
monochromatic
#4016B5 #5623E4 #805AEB #AA91F2 #D4C7F8

Accessibility & contrast

On white

4.59
#805AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#805AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #805AEB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805AEB#FFFFFF#000000##FFFFFF
##805AEB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#5F7C9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #805aeb;
/* rgb */ color: rgb(128, 90, 235);
/* oklch */ color: oklch(58.4% 0.208 290.6);
Tailwind
colors: {
  custom: {
    50: '#ac8af2',
    500: '#805aeb',
    950: '#000000',
  },
}
SCSS
$custom: #805aeb;
$custom-light: #ac8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#805aeb",
  "rgb": {
    "r": 128,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 255.724,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.20822,
    "h": 290.6
  },
  "luminance": 0.179
}

Semantic roles & 50–950 ramp

primary
#805AEB
secondary
#DDEAB7
accent
#DB0BA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #805AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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