#803BD5#803BD5

#803BD5 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.221 H 299.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#803BD5
RGBrgb(128, 59, 213)
HSLhsl(267, 65%, 53%)
HSVhsv(267, 72%, 84%)
CMYKcmyk(39.9%, 72.3%, 0%, 16.5%)
CIE-LABlab(42.03, 59.04, -67.63)
CIE-LCHlch(42.03, 89.77, 311.12°)
OKLaboklab(52.67% 0.1069 -0.1932)
OKLCHoklch(52.67% 0.221 299)
XYZxyz(22.4732, 12.5209, 64.1707)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BD5 #90D53B
analogous
#3B43D5 #803BD5 #CD3BD5
triadic
#803BD5 #D5803B #3BD580
tetradic
#803BD5 #D53B43 #90D53B #3BD5CD
square
#803BD5 #D53B43 #90D53B #3BD5CD
split-complementary
#803BD5 #D5CD3B #43D53B
monochromatic
#461A7B #6225AE #803BD5 #A16DE0 #C1A0EB

Accessibility & contrast

On white

5.99
#803BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#803BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BD5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BD5#FFFFFF#000000##FFFFFF
##803BD51.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#6C6285
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #803bd5;
/* rgb */ color: rgb(128, 59, 213);
/* oklch */ color: oklch(52.7% 0.221 299.0);
Tailwind
colors: {
  custom: {
    50: '#ac77e3',
    500: '#803bd5',
    950: '#000000',
  },
}
SCSS
$custom: #803bd5;
$custom-light: #ac77e3;
$custom-dark: #000000;
JSON
{
  "hex": "#803bd5",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 266.883,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.22082,
    "h": 299
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#803BD5
secondary
#B9D795
accent
#E8409D
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #803BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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