#805AFB#805AFB

#805AFB is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.227 H 288.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#805AFB
RGBrgb(128, 90, 251)
HSLhsl(254, 95%, 67%)
HSVhsv(254, 64%, 98%)
CMYKcmyk(49%, 64.1%, 0%, 1.6%)
CIE-LABlab(50.53, 53.54, -75.27)
CIE-LCHlch(50.53, 92.37, 305.43°)
OKLaboklab(59.65% 0.0717 -0.2157)
OKLCHoklch(59.65% 0.227 288.4)
XYZxyz(29.9658, 18.8652, 93.3105)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805AFB #D5FB5A
analogous
#5A85FB #805AFB #D05AFB
triadic
#805AFB #FB805A #5AFB80
tetradic
#805AFB #FB5A85 #D5FB5A #5AFBD0
square
#805AFB #FB5A85 #D5FB5A #5AFBD0
split-complementary
#805AFB #FBD05A #85FB5A
monochromatic
#3605D5 #521EFA #805AFB #AE96FC #DCD2FE

Accessibility & contrast

On white

4.40
#805AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#805AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #805AFB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805AFB#FFFFFF#000000##000000
##805AFB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0074F8
Tritanopia (blue-blind)
#5581A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #805afb;
/* rgb */ color: rgb(128, 90, 251);
/* oklch */ color: oklch(59.7% 0.227 288.4);
Tailwind
colors: {
  custom: {
    50: '#ae8bfe',
    500: '#805afb',
    950: '#000000',
  },
}
SCSS
$custom: #805afb;
$custom-light: #ae8bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#805afb",
  "rgb": {
    "r": 128,
    "g": 90,
    "b": 251
  },
  "hsl": {
    "h": 254.161,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.22733,
    "h": 288.4
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#805AFB
secondary
#E6F2BF
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #805AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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