#805AFF#805AFF

#805AFF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.232 H 287.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#805AFF
RGBrgb(128, 90, 255)
HSLhsl(254, 100%, 68%)
HSVhsv(254, 65%, 100%)
CMYKcmyk(49.8%, 64.7%, 0%, 0%)
CIE-LABlab(50.83, 54.65, -77.00)
CIE-LCHlch(50.83, 94.42, 305.36°)
OKLaboklab(59.96% 0.0712 -0.2208)
OKLCHoklch(59.96% 0.232 287.9)
XYZxyz(30.6030, 19.1201, 96.6664)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805AFF #D9FF5A
analogous
#5A87FF #805AFF #D25AFF
triadic
#805AFF #FF805A #5AFF80
tetradic
#805AFF #FF5A87 #D9FF5A #5AFFD2
square
#805AFF #FF5A87 #D9FF5A #5AFFD2
split-complementary
#805AFF #FFD25A #87FF5A
monochromatic
#3300DF #511DFF #805AFF #AF97FF #DED4FF

Accessibility & contrast

On white

4.35
#805AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#805AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #805AFF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805AFF#FFFFFF#000000##000000
##805AFF1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0075FC
Tritanopia (blue-blind)
#5283A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #805aff;
/* rgb */ color: rgb(128, 90, 255);
/* oklch */ color: oklch(60.0% 0.232 287.9);
Tailwind
colors: {
  custom: {
    50: '#af8bff',
    500: '#805aff',
    950: '#000000',
  },
}
SCSS
$custom: #805aff;
$custom-light: #af8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#805aff",
  "rgb": {
    "r": 128,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 253.818,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.23205,
    "h": 287.9
  },
  "luminance": 0.19122
}

Semantic roles & 50–950 ramp

primary
#805AFF
secondary
#E8F4C1
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #805AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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