#803FDC#803FDC

#803FDC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.224 H 297.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#803FDC
RGBrgb(128, 63, 220)
HSLhsl(265, 69%, 55%)
HSVhsv(265, 71%, 86%)
CMYKcmyk(41.8%, 71.4%, 0%, 13.7%)
CIE-LABlab(43.23, 58.95, -69.69)
CIE-LCHlch(43.23, 91.27, 310.23°)
OKLaboklab(53.69% 0.1019 -0.1993)
OKLCHoklch(53.69% 0.224 297.1)
XYZxyz(23.5945, 13.3111, 69.0225)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FDC #9BDC3F
analogous
#3F4CDC #803FDC #CF3FDC
triadic
#803FDC #DC803F #3FDC80
tetradic
#803FDC #DC3F4C #9BDC3F #3FDCCF
square
#803FDC #DC3F4C #9BDC3F #3FDCCF
split-complementary
#803FDC #DCCF3F #4CDC3F
monochromatic
#471988 #6222BC #803FDC #A273E5 #C4A7EF

Accessibility & contrast

On white

5.73
#803FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#803FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FDC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FDC#FFFFFF#000000##FFFFFF
##803FDC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#68678A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #803fdc;
/* rgb */ color: rgb(128, 63, 220);
/* oklch */ color: oklch(53.7% 0.224 297.1);
Tailwind
colors: {
  custom: {
    50: '#ac7ae8',
    500: '#803fdc',
    950: '#000000',
  },
}
SCSS
$custom: #803fdc;
$custom-light: #ac7ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#803fdc",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 220
  },
  "hsl": {
    "h": 264.841,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53685,
    "c": 0.2238,
    "h": 297.1
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#803FDC
secondary
#C1DC9B
accent
#EC3CA3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #803FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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