#803FCA#803FCA

#803FCA is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.204 H 300.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#803FCA
RGBrgb(128, 63, 202)
HSLhsl(268, 57%, 52%)
HSVhsv(268, 69%, 79%)
CMYKcmyk(36.6%, 68.8%, 0%, 20.8%)
CIE-LABlab(41.86, 54.50, -61.56)
CIE-LCHlch(41.86, 82.22, 311.52°)
OKLaboklab(52.28% 0.105 -0.1754)
OKLCHoklch(52.28% 0.204 300.9)
XYZxyz(21.3377, 12.4083, 57.1366)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FCA #89CA3F
analogous
#3F43CA #803FCA #C63FCA
triadic
#803FCA #CA803F #3FCA80
tetradic
#803FCA #CA3F43 #89CA3F #3FCAC6
square
#803FCA #CA3F43 #89CA3F #3FCAC6
split-complementary
#803FCA #CAC63F #43CA3F
monochromatic
#451F70 #622CA0 #803FCA #A06FD7 #BF9FE4

Accessibility & contrast

On white

6.03
#803FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#803FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FCA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FCA#FFFFFF#000000##FFFFFF
##803FCA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#706080
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #803fca;
/* rgb */ color: rgb(128, 63, 202);
/* oklch */ color: oklch(52.3% 0.204 300.9);
Tailwind
colors: {
  custom: {
    50: '#aa79db',
    500: '#803fca',
    950: '#000000',
  },
}
SCSS
$custom: #803fca;
$custom-light: #aa79db;
$custom-dark: #000000;
JSON
{
  "hex": "#803fca",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 268.058,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.20442,
    "h": 300.9
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#803FCA
secondary
#B4D194
accent
#E04899
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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