#803BB6#803BB6

#803BB6 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.188 H 306.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#803BB6
RGBrgb(128, 59, 182)
HSLhsl(274, 51%, 47%)
HSVhsv(274, 68%, 71%)
CMYKcmyk(29.7%, 67.6%, 0%, 28.6%)
CIE-LABlab(39.74, 51.62, -53.30)
CIE-LCHlch(39.74, 74.20, 314.08°)
OKLaboklab(50.32% 0.1119 -0.1511)
OKLCHoklch(50.32% 0.188 306.5)
XYZxyz(18.9077, 11.0947, 45.3923)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BB6 #71B63B
analogous
#433BB6 #803BB6 #B63BAE
triadic
#803BB6 #B6803B #3BB680
tetradic
#803BB6 #B6433B #71B63B #3BAEB6
square
#803BB6 #B6433B #71B63B #3BAEB6
split-complementary
#803BB6 #AEB63B #3BB643
monochromatic
#3F1D5A #5F2C88 #803BB6 #9E62CC #BA90DB

Accessibility & contrast

On white

6.52
#803BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#803BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BB6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BB6#FFFFFF#000000##FFFFFF
##803BB61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#1A5EB3
Tritanopia (blue-blind)
#775674
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803bb6;
/* rgb */ color: rgb(128, 59, 182);
/* oklch */ color: oklch(50.3% 0.188 306.5);
Tailwind
colors: {
  custom: {
    50: '#a976cd',
    500: '#803bb6',
    950: '#000000',
  },
}
SCSS
$custom: #803bb6;
$custom-light: #a976cd;
$custom-dark: #000000;
JSON
{
  "hex": "#803bb6",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 273.659,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.18801,
    "h": 306.5
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#803BB6
secondary
#A3C687
accent
#DB4D8B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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