#803FD1#803FD1

#803FD1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.212 H 299.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#803FD1
RGBrgb(128, 63, 209)
HSLhsl(267, 61%, 53%)
HSVhsv(267, 70%, 82%)
CMYKcmyk(38.8%, 69.9%, 0%, 18%)
CIE-LABlab(42.38, 56.22, -64.76)
CIE-LCHlch(42.38, 85.75, 310.96°)
OKLaboklab(52.82% 0.1039 -0.1848)
OKLCHoklch(52.82% 0.212 299.3)
XYZxyz(22.1853, 12.7474, 61.6009)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FD1 #90D13F
analogous
#3F47D1 #803FD1 #C93FD1
triadic
#803FD1 #D1803F #3FD180
tetradic
#803FD1 #D13F47 #90D13F #3FD1C9
square
#803FD1 #D13F47 #90D13F #3FD1C9
split-complementary
#803FD1 #D1C93F #47D13F
monochromatic
#461D79 #6229AA #803FD1 #A170DD #C1A2E9

Accessibility & contrast

On white

5.92
#803FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#803FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FD1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FD1#FFFFFF#000000##FFFFFF
##803FD11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#6D6384
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #803fd1;
/* rgb */ color: rgb(128, 63, 209);
/* oklch */ color: oklch(52.8% 0.212 299.3);
Tailwind
colors: {
  custom: {
    50: '#ab79e0',
    500: '#803fd1',
    950: '#000000',
  },
}
SCSS
$custom: #803fd1;
$custom-light: #ab79e0;
$custom-dark: #000000;
JSON
{
  "hex": "#803fd1",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 266.712,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52819,
    "c": 0.21199,
    "h": 299.3
  },
  "luminance": 0.12748
}

Semantic roles & 50–950 ramp

primary
#803FD1
secondary
#B9D597
accent
#E4439D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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