#803DBC#803DBC

#803DBC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.192 H 304.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#803DBC
RGBrgb(128, 61, 188)
HSLhsl(272, 51%, 49%)
HSVhsv(272, 68%, 74%)
CMYKcmyk(31.9%, 67.6%, 0%, 26.3%)
CIE-LABlab(40.50, 52.08, -55.60)
CIE-LCHlch(40.50, 76.18, 313.13°)
OKLaboklab(51% 0.109 -0.1578)
OKLCHoklch(51% 0.192 304.6)
XYZxyz(19.6459, 11.5576, 48.7631)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DBC #79BC3D
analogous
#413DBC #803DBC #BC3DB9
triadic
#803DBC #BC803D #3DBC80
tetradic
#803DBC #BC413D #79BC3D #3DB9BC
square
#803DBC #BC413D #79BC3D #3DB9BC
split-complementary
#803DBC #B9BC3D #3DBC41
monochromatic
#411F60 #612E8E #803DBC #9E68CE #BC96DD

Accessibility & contrast

On white

6.34
#803DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#803DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DBC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DBC#FFFFFF#000000##FFFFFF
##803DBC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0F5FB9
Tritanopia (blue-blind)
#755977
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803dbc;
/* rgb */ color: rgb(128, 61, 188);
/* oklch */ color: oklch(51.0% 0.192 304.6);
Tailwind
colors: {
  custom: {
    50: '#a977d1',
    500: '#803dbc',
    950: '#000000',
  },
}
SCSS
$custom: #803dbc;
$custom-light: #a977d1;
$custom-dark: #000000;
JSON
{
  "hex": "#803dbc",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 271.654,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.19183,
    "h": 304.6
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#803DBC
secondary
#A9C98C
accent
#DA4D90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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