#805DF2#805DF2

#805DF2 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.213 H 289.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#805DF2
RGBrgb(128, 93, 242)
HSLhsl(254, 85%, 66%)
HSVhsv(254, 62%, 95%)
CMYKcmyk(47.1%, 61.6%, 0%, 5.1%)
CIE-LABlab(50.48, 49.41, -70.32)
CIE-LCHlch(50.48, 85.94, 305.09°)
OKLaboklab(59.41% 0.0695 -0.2012)
OKLCHoklch(59.41% 0.213 289.1)
XYZxyz(28.8389, 18.8275, 86.1017)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805DF2 #CFF25D
analogous
#5D84F2 #805DF2 #CA5DF2
triadic
#805DF2 #F2805D #5DF280
tetradic
#805DF2 #F25D84 #CFF25D #5DF2CA
square
#805DF2 #F25D84 #CFF25D #5DF2CA
split-complementary
#805DF2 #F2CA5D #84F25D
monochromatic
#3A10C5 #5424ED #805DF2 #AC96F7 #D9CEFB

Accessibility & contrast

On white

4.41
#805DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#805DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #805DF2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805DF2#FFFFFF#000000##000000
##805DF21.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#5B809F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #805df2;
/* rgb */ color: rgb(128, 93, 242);
/* oklch */ color: oklch(59.4% 0.213 289.1);
Tailwind
colors: {
  custom: {
    50: '#ad8cf7',
    500: '#805df2',
    950: '#000000',
  },
}
SCSS
$custom: #805df2;
$custom-light: #ad8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#805df2",
  "rgb": {
    "r": 128,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 254.094,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59413,
    "c": 0.21288,
    "h": 289.1
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#805DF2
secondary
#E3EEBD
accent
#E204AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #805DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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