#805AE3#805AE3

#805AE3 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.199 H 291.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#805AE3
RGBrgb(128, 90, 227)
HSLhsl(257, 71%, 62%)
HSVhsv(257, 60%, 89%)
CMYKcmyk(43.6%, 60.4%, 0%, 11%)
CIE-LABlab(48.82, 46.92, -64.59)
CIE-LCHlch(48.82, 79.83, 306.00°)
OKLaboklab(57.87% 0.0736 -0.1843)
OKLCHoklch(57.87% 0.199 291.8)
XYZxyz(26.4196, 17.4467, 74.6337)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805AE3 #BDE35A
analogous
#5A79E3 #805AE3 #C45AE3
triadic
#805AE3 #E3805A #5AE380
tetradic
#805AE3 #E35A79 #BDE35A #5AE3C4
square
#805AE3 #E35A79 #BDE35A #5AE3C4
split-complementary
#805AE3 #E3C45A #79E35A
monochromatic
#431CA6 #5826DA #805AE3 #A88EEC #D1C3F5

Accessibility & contrast

On white

4.68
#805AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#805AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #805AE3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805AE3#FFFFFF#000000##FFFFFF
##805AE31.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#637996
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #805ae3;
/* rgb */ color: rgb(128, 90, 227);
/* oklch */ color: oklch(57.9% 0.199 291.8);
Tailwind
colors: {
  custom: {
    50: '#ab8aed',
    500: '#805ae3',
    950: '#000000',
  },
}
SCSS
$custom: #805ae3;
$custom-light: #ab8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#805ae3",
  "rgb": {
    "r": 128,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 256.642,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.1985,
    "h": 291.8
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#805AE3
secondary
#D8E6B3
accent
#D3129E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #805AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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