#805ED8#805ED8

#805ED8 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.179 H 292.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#805ED8
RGBrgb(128, 94, 216)
HSLhsl(257, 61%, 61%)
HSVhsv(257, 56%, 85%)
CMYKcmyk(40.7%, 56.5%, 0%, 15.3%)
CIE-LABlab(48.95, 41.67, -58.14)
CIE-LCHlch(48.95, 71.53, 305.63°)
OKLaboklab(57.73% 0.0694 -0.1654)
OKLCHoklch(57.73% 0.179 292.8)
XYZxyz(25.2961, 17.5518, 67.0075)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805ED8 #B6D85E
analogous
#5E79D8 #805ED8 #BD5ED8
triadic
#805ED8 #D8805E #5ED880
tetradic
#805ED8 #D85E79 #B6D85E #5ED8BD
square
#805ED8 #D85E79 #B6D85E #5ED8BD
split-complementary
#805ED8 #D8BD5E #79D85E
monochromatic
#442597 #5B31C8 #805ED8 #A78FE4 #CEC1F0

Accessibility & contrast

On white

4.66
#805ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#805ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #805ED8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805ED8#FFFFFF#000000##FFFFFF
##805ED81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1976DC
Deuteranopia (green-blind)
#2672D5
Tritanopia (blue-blind)
#687892
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #805ed8;
/* rgb */ color: rgb(128, 94, 216);
/* oklch */ color: oklch(57.7% 0.179 292.8);
Tailwind
colors: {
  custom: {
    50: '#aa8de5',
    500: '#805ed8',
    950: '#000000',
  },
}
SCSS
$custom: #805ed8;
$custom-light: #aa8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#805ed8",
  "rgb": {
    "r": 128,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 256.721,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57733,
    "c": 0.17934,
    "h": 292.8
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#805ED8
secondary
#D3E0B2
accent
#C91D99
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #805ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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