#805DD2#805DD2

#805DD2 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.2% C 0.173 H 294.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#805DD2
RGBrgb(128, 93, 210)
HSLhsl(258, 57%, 59%)
HSVhsv(258, 56%, 82%)
CMYKcmyk(39%, 55.7%, 0%, 17.6%)
CIE-LABlab(48.35, 40.61, -55.68)
CIE-LCHlch(48.35, 68.92, 306.10°)
OKLaboklab(57.17% 0.0705 -0.1582)
OKLCHoklch(57.17% 0.173 294)
XYZxyz(24.4462, 17.0705, 62.9672)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805DD2 #AFD25D
analogous
#5D75D2 #805DD2 #BB5DD2
triadic
#805DD2 #D2805D #5DD280
tetradic
#805DD2 #D25D75 #AFD25D #5DD2BB
square
#805DD2 #D25D75 #AFD25D #5DD2BB
split-complementary
#805DD2 #D2BB5D #75D25D
monochromatic
#46278D #5D35BD #805DD2 #A68DDF #CBBDED

Accessibility & contrast

On white

4.76
#805DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#805DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #805DD2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805DD2#FFFFFF#000000##FFFFFF
##805DD21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2274D6
Deuteranopia (green-blind)
#2D71CF
Tritanopia (blue-blind)
#6B768E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #805dd2;
/* rgb */ color: rgb(128, 93, 210);
/* oklch */ color: oklch(57.2% 0.173 294.0);
Tailwind
colors: {
  custom: {
    50: '#a98ce0',
    500: '#805dd2',
    950: '#000000',
  },
}
SCSS
$custom: #805dd2;
$custom-light: #a98ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#805dd2",
  "rgb": {
    "r": 128,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 257.949,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.17316,
    "h": 294
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#805DD2
secondary
#CFDCAF
accent
#E048B2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #805DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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