#803CBF#803CBF

#803CBF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.196 H 304.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#803CBF
RGBrgb(128, 60, 191)
HSLhsl(271, 52%, 49%)
HSVhsv(271, 69%, 75%)
CMYKcmyk(33%, 68.6%, 0%, 25.1%)
CIE-LABlab(40.54, 53.27, -57.29)
CIE-LCHlch(40.54, 78.23, 312.92°)
OKLaboklab(51.09% 0.1097 -0.1628)
OKLCHoklch(51.09% 0.196 304)
XYZxyz(19.9198, 11.5826, 50.4663)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CBF #7BBF3C
analogous
#3F3CBF #803CBF #BF3CBD
triadic
#803CBF #BF803C #3CBF80
tetradic
#803CBF #BF3F3C #7BBF3C #3CBDBF
square
#803CBF #BF3F3C #7BBF3C #3CBDBF
split-complementary
#803CBF #BDBF3C #3CBF3F
monochromatic
#421F62 #612D90 #803CBF #9E68D0 #BC97DE

Accessibility & contrast

On white

6.33
#803CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#803CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CBF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CBF#FFFFFF#000000##FFFFFF
##803CBF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#745A79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803cbf;
/* rgb */ color: rgb(128, 60, 191);
/* oklch */ color: oklch(51.1% 0.196 304.0);
Tailwind
colors: {
  custom: {
    50: '#aa77d3',
    500: '#803cbf',
    950: '#000000',
  },
}
SCSS
$custom: #803cbf;
$custom-light: #aa77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#803cbf",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 271.145,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.19632,
    "h": 304
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#803CBF
secondary
#AACA8D
accent
#DC4C91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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