#803CB3#803CB3

#803CB3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.183 H 307.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#803CB3
RGBrgb(128, 60, 179)
HSLhsl(274, 50%, 47%)
HSVhsv(274, 66%, 70%)
CMYKcmyk(28.5%, 66.5%, 0%, 29.8%)
CIE-LABlab(39.71, 50.44, -51.58)
CIE-LCHlch(39.71, 72.15, 314.36°)
OKLaboklab(50.23% 0.111 -0.1461)
OKLCHoklch(50.23% 0.183 307.2)
XYZxyz(18.6529, 11.0758, 43.7943)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CB3 #6FB33C
analogous
#453CB3 #803CB3 #B33CAB
triadic
#803CB3 #B3803C #3CB380
tetradic
#803CB3 #B3453C #6FB33C #3CABB3
square
#803CB3 #B3453C #6FB33C #3CABB3
split-complementary
#803CB3 #ABB33C #3CB345
monochromatic
#3E1D57 #5F2D85 #803CB3 #9E62CA #BA90DA

Accessibility & contrast

On white

6.53
#803CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803CB3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CB3#FFFFFF#000000##FFFFFF
##803CB31.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #803cb3;
/* rgb */ color: rgb(128, 60, 179);
/* oklch */ color: oklch(50.2% 0.183 307.2);
Tailwind
colors: {
  custom: {
    50: '#a976ca',
    500: '#803cb3',
    950: '#000000',
  },
}
SCSS
$custom: #803cb3;
$custom-light: #a976ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803cb3",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 274.286,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50228,
    "c": 0.18347,
    "h": 307.2
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#803CB3
secondary
#A1C586
accent
#D94E8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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