#805DFB#805DFB

#805DFB is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.224 H 287.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#805DFB
RGBrgb(128, 93, 251)
HSLhsl(253, 95%, 67%)
HSVhsv(253, 63%, 98%)
CMYKcmyk(49%, 62.9%, 0%, 1.6%)
CIE-LABlab(51.13, 51.92, -74.29)
CIE-LCHlch(51.13, 90.63, 304.95°)
OKLaboklab(60.09% 0.0688 -0.2129)
OKLCHoklch(60.09% 0.224 287.9)
XYZxyz(30.2240, 19.3816, 93.3966)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805DFB #D8FB5D
analogous
#5D89FB #805DFB #CF5DFB
triadic
#805DFB #FB805D #5DFB80
tetradic
#805DFB #FB5D89 #D8FB5D #5DFBCF
square
#805DFB #FB5D89 #D8FB5D #5DFBCF
split-complementary
#805DFB #FBCF5D #89FB5D
monochromatic
#3405D8 #5121FA #805DFB #AF99FC #DED4FE

Accessibility & contrast

On white

4.31
#805DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#805DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #805DFB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805DFB#FFFFFF#000000##000000
##805DFB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#5583A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #805dfb;
/* rgb */ color: rgb(128, 93, 251);
/* oklch */ color: oklch(60.1% 0.224 287.9);
Tailwind
colors: {
  custom: {
    50: '#ae8dfe',
    500: '#805dfb',
    950: '#000000',
  },
}
SCSS
$custom: #805dfb;
$custom-light: #ae8dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#805dfb",
  "rgb": {
    "r": 128,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 253.291,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60086,
    "c": 0.22371,
    "h": 287.9
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#805DFB
secondary
#E8F3C1
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #805DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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