#803FD2#803FD2

#803FD2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.213 H 299.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#803FD2
RGBrgb(128, 63, 210)
HSLhsl(267, 62%, 54%)
HSVhsv(267, 70%, 82%)
CMYKcmyk(39%, 70%, 0%, 17.6%)
CIE-LABlab(42.46, 56.46, -65.21)
CIE-LCHlch(42.46, 86.26, 310.89°)
OKLaboklab(52.9% 0.1037 -0.1861)
OKLCHoklch(52.9% 0.213 299.1)
XYZxyz(22.3095, 12.7971, 62.2550)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FD2 #91D23F
analogous
#3F47D2 #803FD2 #CA3FD2
triadic
#803FD2 #D2803F #3FD280
tetradic
#803FD2 #D23F47 #91D23F #3FD2CA
square
#803FD2 #D23F47 #91D23F #3FD2CA
split-complementary
#803FD2 #D2CA3F #47D23F
monochromatic
#461D7A #6228AC #803FD2 #A171DE #C2A2E9

Accessibility & contrast

On white

5.90
#803FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#803FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FD2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FD2#FFFFFF#000000##FFFFFF
##803FD21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #803fd2;
/* rgb */ color: rgb(128, 63, 210);
/* oklch */ color: oklch(52.9% 0.213 299.1);
Tailwind
colors: {
  custom: {
    50: '#ab79e1',
    500: '#803fd2',
    950: '#000000',
  },
}
SCSS
$custom: #803fd2;
$custom-light: #ab79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#803fd2",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 266.531,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.21307,
    "h": 299.1
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#803FD2
secondary
#BAD697
accent
#E5439D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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