#805DCD#805DCD

#805DCD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.167 H 295.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#805DCD
RGBrgb(128, 93, 205)
HSLhsl(259, 53%, 58%)
HSVhsv(259, 55%, 80%)
CMYKcmyk(37.6%, 54.6%, 0%, 19.6%)
CIE-LABlab(48.04, 39.26, -53.32)
CIE-LCHlch(48.04, 66.21, 306.37°)
OKLaboklab(56.84% 0.0704 -0.1512)
OKLCHoklch(56.84% 0.167 295)
XYZxyz(23.8330, 16.8252, 59.7377)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805DCD #AACD5D
analogous
#5D72CD #805DCD #B85DCD
triadic
#805DCD #CD805D #5DCD80
tetradic
#805DCD #CD5D72 #AACD5D #5DCDB8
square
#805DCD #CD5D72 #AACD5D #5DCDB8
split-complementary
#805DCD #CDB85D #72CD5D
monochromatic
#462986 #5F38B5 #805DCD #A58CDB #C9BBEA

Accessibility & contrast

On white

4.81
#805DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#805DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #805DCD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805DCD#FFFFFF#000000##FFFFFF
##805DCD1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#6D748C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #805dcd;
/* rgb */ color: rgb(128, 93, 205);
/* oklch */ color: oklch(56.8% 0.167 295.0);
Tailwind
colors: {
  custom: {
    50: '#a98cdd',
    500: '#805dcd',
    950: '#000000',
  },
}
SCSS
$custom: #805dcd;
$custom-light: #a98cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#805dcd",
  "rgb": {
    "r": 128,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 258.75,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.16679,
    "h": 295
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#805DCD
secondary
#CBD9AD
accent
#DC4CAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #805DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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