#803ED5#803ED5

#803ED5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.217 H 298.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#803ED5
RGBrgb(128, 62, 213)
HSLhsl(266, 64%, 54%)
HSVhsv(266, 71%, 84%)
CMYKcmyk(39.9%, 70.9%, 0%, 16.5%)
CIE-LABlab(42.52, 57.67, -66.84)
CIE-LCHlch(42.52, 88.28, 310.79°)
OKLaboklab(53.01% 0.1041 -0.1909)
OKLCHoklch(53.01% 0.217 298.6)
XYZxyz(22.6319, 12.8382, 64.2235)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803ED5 #93D53E
analogous
#3E48D5 #803ED5 #CB3ED5
triadic
#803ED5 #D5803E #3ED580
tetradic
#803ED5 #D53E48 #93D53E #3ED5CB
square
#803ED5 #D53E48 #93D53E #3ED5CB
split-complementary
#803ED5 #D5CB3E #48D53E
monochromatic
#461B7D #6226B0 #803ED5 #A170E0 #C2A3EB

Accessibility & contrast

On white

5.89
#803ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#803ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803ED5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803ED5#FFFFFF#000000##FFFFFF
##803ED51.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#6B6486
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #803ed5;
/* rgb */ color: rgb(128, 62, 213);
/* oklch */ color: oklch(53.0% 0.217 298.6);
Tailwind
colors: {
  custom: {
    50: '#ac79e3',
    500: '#803ed5',
    950: '#000000',
  },
}
SCSS
$custom: #803ed5;
$custom-light: #ac79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#803ed5",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 266.225,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53012,
    "c": 0.21745,
    "h": 298.6
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#803ED5
secondary
#BBD897
accent
#E7419E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #803ED5

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

Preview Lab → · Contrast checker → · Palette generator →

#803ED5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva