#803BCA#803BCA

#803BCA is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.209 H 301.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#803BCA
RGBrgb(128, 59, 202)
HSLhsl(269, 57%, 51%)
HSVhsv(269, 71%, 79%)
CMYKcmyk(36.6%, 70.8%, 0%, 20.8%)
CIE-LABlab(41.19, 56.37, -62.65)
CIE-LCHlch(41.19, 84.28, 311.98°)
OKLaboklab(51.8% 0.109 -0.1786)
OKLCHoklch(51.8% 0.209 301.4)
XYZxyz(21.1241, 11.9813, 57.0654)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BCA #85CA3B
analogous
#3B3DCA #803BCA #C73BCA
triadic
#803BCA #CA803B #3BCA80
tetradic
#803BCA #CA3B3D #85CA3B #3BCAC7
square
#803BCA #CA3B3D #85CA3B #3BCAC7
split-complementary
#803BCA #CAC73B #3DCA3B
monochromatic
#441E6D #622B9D #803BCA #9F6BD7 #BE9BE4

Accessibility & contrast

On white

6.18
#803BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#803BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BCA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BCA#FFFFFF#000000##FFFFFF
##803BCA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#705E7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803bca;
/* rgb */ color: rgb(128, 59, 202);
/* oklch */ color: oklch(51.8% 0.209 301.4);
Tailwind
colors: {
  custom: {
    50: '#ab77db',
    500: '#803bca',
    950: '#000000',
  },
}
SCSS
$custom: #803bca;
$custom-light: #ab77db;
$custom-dark: #000000;
JSON
{
  "hex": "#803bca",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 268.951,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.20923,
    "h": 301.4
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#803BCA
secondary
#B2D091
accent
#E14797
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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