#803BD6#803BD6

#803BD6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.222 H 298.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#803BD6
RGBrgb(128, 59, 214)
HSLhsl(267, 65%, 54%)
HSVhsv(267, 72%, 84%)
CMYKcmyk(40.2%, 72.4%, 0%, 16.1%)
CIE-LABlab(42.11, 59.29, -68.07)
CIE-LCHlch(42.11, 90.27, 311.05°)
OKLaboklab(52.75% 0.1067 -0.1945)
OKLCHoklch(52.75% 0.222 298.8)
XYZxyz(22.6006, 12.5718, 64.8412)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BD6 #91D63B
analogous
#3B43D6 #803BD6 #CE3BD6
triadic
#803BD6 #D6803B #3BD680
tetradic
#803BD6 #D63B43 #91D63B #3BD6CE
square
#803BD6 #D63B43 #91D63B #3BD6CE
split-complementary
#803BD6 #D6CE3B #43D63B
monochromatic
#461A7D #6225AF #803BD6 #A16EE1 #C2A0EB

Accessibility & contrast

On white

5.98
#803BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#803BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BD6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BD6#FFFFFF#000000##FFFFFF
##803BD61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#6B6285
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #803bd6;
/* rgb */ color: rgb(128, 59, 214);
/* oklch */ color: oklch(52.7% 0.222 298.8);
Tailwind
colors: {
  custom: {
    50: '#ac77e4',
    500: '#803bd6',
    950: '#000000',
  },
}
SCSS
$custom: #803bd6;
$custom-light: #ac77e4;
$custom-dark: #000000;
JSON
{
  "hex": "#803bd6",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 266.71,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.22186,
    "h": 298.8
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#803BD6
secondary
#BAD895
accent
#E83F9D
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #803BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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