#803BAF#803BAF

#803BAF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.181 H 308.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#803BAF
RGBrgb(128, 59, 175)
HSLhsl(276, 50%, 46%)
HSVhsv(276, 66%, 69%)
CMYKcmyk(26.9%, 66.3%, 0%, 31.4%)
CIE-LABlab(39.26, 50.00, -49.93)
CIE-LCHlch(39.26, 70.66, 315.04°)
OKLaboklab(49.82% 0.1125 -0.1412)
OKLCHoklch(49.82% 0.181 308.6)
XYZxyz(18.2023, 10.8126, 41.6773)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BAF #6AAF3B
analogous
#463BAF #803BAF #AF3BA4
triadic
#803BAF #AF803B #3BAF80
tetradic
#803BAF #AF463B #6AAF3B #3BA4AF
square
#803BAF #AF463B #6AAF3B #3BA4AF
split-complementary
#803BAF #A4AF3B #3BAF46
monochromatic
#3D1C53 #5F2C81 #803BAF #9E5EC9 #B98CD8

Accessibility & contrast

On white

6.64
#803BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#803BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BAF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BAF#FFFFFF#000000##FFFFFF
##803BAF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#795370
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803baf;
/* rgb */ color: rgb(128, 59, 175);
/* oklch */ color: oklch(49.8% 0.181 308.6);
Tailwind
colors: {
  custom: {
    50: '#a976c8',
    500: '#803baf',
    950: '#000000',
  },
}
SCSS
$custom: #803baf;
$custom-light: #a976c8;
$custom-dark: #000000;
JSON
{
  "hex": "#803baf",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 275.69,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49822,
    "c": 0.18056,
    "h": 308.6
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#803BAF
secondary
#9DC383
accent
#D94F87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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