#805BF8#805BF8

#805BF8 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.223 H 288.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#805BF8
RGBrgb(128, 91, 248)
HSLhsl(254, 92%, 66%)
HSVhsv(254, 63%, 97%)
CMYKcmyk(48.4%, 63.3%, 0%, 2.7%)
CIE-LABlab(50.51, 52.17, -73.63)
CIE-LCHlch(50.51, 90.24, 305.32°)
OKLaboklab(59.57% 0.071 -0.2109)
OKLCHoklch(59.57% 0.223 288.6)
XYZxyz(29.5816, 18.8474, 90.8680)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805BF8 #D3F85B
analogous
#5B85F8 #805BF8 #CF5BF8
triadic
#805BF8 #F8805B #5BF880
tetradic
#805BF8 #F85B85 #D3F85B #5BF8CF
square
#805BF8 #F85B85 #D3F85B #5BF8CF
split-complementary
#805BF8 #F8CF5B #85F85B
monochromatic
#3809D0 #5320F5 #805BF8 #AD96FB #DBD0FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##805BF8#FFFFFF#000000##000000
##805BF81.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)
#007CFD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#5781A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #805bf8;
/* rgb */ color: rgb(128, 91, 248);
/* oklch */ color: oklch(59.6% 0.223 288.6);
Tailwind
colors: {
  custom: {
    50: '#ae8bfc',
    500: '#805bf8',
    950: '#000000',
  },
}
SCSS
$custom: #805bf8;
$custom-light: #ae8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#805bf8",
  "rgb": {
    "r": 128,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 254.14,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.22256,
    "h": 288.6
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #805BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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