#803FD9#803FD9

#803FD9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.221 H 297.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#803FD9
RGBrgb(128, 63, 217)
HSLhsl(265, 67%, 55%)
HSVhsv(265, 71%, 85%)
CMYKcmyk(41%, 71%, 0%, 14.9%)
CIE-LABlab(42.99, 58.20, -68.36)
CIE-LCHlch(42.99, 89.77, 310.41°)
OKLaboklab(53.45% 0.1024 -0.1954)
OKLCHoklch(53.45% 0.221 297.7)
XYZxyz(23.2007, 13.1536, 66.9487)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FD9 #98D93F
analogous
#3F4BD9 #803FD9 #CD3FD9
triadic
#803FD9 #D9803F #3FD980
tetradic
#803FD9 #D93F4B #98D93F #3FD9CD
square
#803FD9 #D93F4B #98D93F #3FD9CD
split-complementary
#803FD9 #D9CD3F #4BD93F
monochromatic
#471A84 #6224B7 #803FD9 #A272E3 #C4A5ED

Accessibility & contrast

On white

5.78
#803FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#803FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FD9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FD9#FFFFFF#000000##FFFFFF
##803FD91.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#6A6688
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #803fd9;
/* rgb */ color: rgb(128, 63, 217);
/* oklch */ color: oklch(53.4% 0.221 297.7);
Tailwind
colors: {
  custom: {
    50: '#ac79e6',
    500: '#803fd9',
    950: '#000000',
  },
}
SCSS
$custom: #803fd9;
$custom-light: #ac79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#803fd9",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 265.325,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.22059,
    "h": 297.7
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

primary
#803FD9
secondary
#BFDA9A
accent
#EA3EA1
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #803FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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