#803BB3#803BB3

#803BB3 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.185 H 307.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#803BB3
RGBrgb(128, 59, 179)
HSLhsl(275, 50%, 47%)
HSVhsv(275, 67%, 70%)
CMYKcmyk(28.5%, 67%, 0%, 29.8%)
CIE-LABlab(39.53, 50.93, -51.87)
CIE-LCHlch(39.53, 72.69, 314.48°)
OKLaboklab(50.1% 0.1122 -0.1469)
OKLCHoklch(50.1% 0.185 307.4)
XYZxyz(18.6010, 10.9720, 43.7770)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BB3 #6EB33B
analogous
#443BB3 #803BB3 #B33BAA
triadic
#803BB3 #B3803B #3BB380
tetradic
#803BB3 #B3443B #6EB33B #3BAAB3
square
#803BB3 #B3443B #6EB33B #3BAAB3
split-complementary
#803BB3 #AAB33B #3BB344
monochromatic
#3E1D57 #5F2C85 #803BB3 #9E60CB #BA8EDA

Accessibility & contrast

On white

6.57
#803BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#803BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BB3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BB3#FFFFFF#000000##FFFFFF
##803BB31.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#205EB0
Tritanopia (blue-blind)
#785572
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803bb3;
/* rgb */ color: rgb(128, 59, 179);
/* oklch */ color: oklch(50.1% 0.185 307.4);
Tailwind
colors: {
  custom: {
    50: '#a976ca',
    500: '#803bb3',
    950: '#000000',
  },
}
SCSS
$custom: #803bb3;
$custom-light: #a976ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803bb3",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 274.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.18481,
    "h": 307.4
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#803BB3
secondary
#A0C585
accent
#DA4E89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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