#805DEF#805DEF

#805DEF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.209 H 289.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#805DEF
RGBrgb(128, 93, 239)
HSLhsl(254, 82%, 65%)
HSVhsv(254, 61%, 94%)
CMYKcmyk(46.4%, 61.1%, 0%, 6.3%)
CIE-LABlab(50.27, 48.58, -68.98)
CIE-LCHlch(50.27, 84.37, 305.15°)
OKLaboklab(59.19% 0.0697 -0.1973)
OKLCHoklch(59.19% 0.209 289.5)
XYZxyz(28.3920, 18.6488, 83.7482)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805DEF #CCEF5D
analogous
#5D83EF #805DEF #C95DEF
triadic
#805DEF #EF805D #5DEF80
tetradic
#805DEF #EF5D83 #CCEF5D #5DEFC9
square
#805DEF #EF5D83 #CCEF5D #5DEFC9
split-complementary
#805DEF #EFC95D #83EF5D
monochromatic
#3C13BF #5425E9 #805DEF #AC95F5 #D7CCFA

Accessibility & contrast

On white

4.44
#805DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#805DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #805DEF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805DEF#FFFFFF#000000##000000
##805DEF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#5D7F9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #805def;
/* rgb */ color: rgb(128, 93, 239);
/* oklch */ color: oklch(59.2% 0.209 289.5);
Tailwind
colors: {
  custom: {
    50: '#ac8cf5',
    500: '#805def',
    950: '#000000',
  },
}
SCSS
$custom: #805def;
$custom-light: #ac8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#805def",
  "rgb": {
    "r": 128,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 254.384,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.20923,
    "h": 289.5
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#805DEF
secondary
#E1EDBB
accent
#DE07AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #805DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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