#803FCC#803FCC

#803FCC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.207 H 300.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#803FCC
RGBrgb(128, 63, 204)
HSLhsl(268, 58%, 52%)
HSVhsv(268, 69%, 80%)
CMYKcmyk(37.3%, 69.1%, 0%, 20%)
CIE-LABlab(42.01, 54.99, -62.48)
CIE-LCHlch(42.01, 83.23, 311.35°)
OKLaboklab(52.43% 0.1047 -0.1781)
OKLCHoklch(52.43% 0.207 300.5)
XYZxyz(21.5760, 12.5037, 58.3918)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FCC #8BCC3F
analogous
#3F44CC #803FCC #C73FCC
triadic
#803FCC #CC803F #3FCC80
tetradic
#803FCC #CC3F44 #8BCC3F #3FCCC7
square
#803FCC #CC3F44 #8BCC3F #3FCCC7
split-complementary
#803FCC #CCC73F #44CC3F
monochromatic
#451E72 #622BA3 #803FCC #A06FD9 #C0A0E6

Accessibility & contrast

On white

6.00
#803FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#803FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FCC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FCC#FFFFFF#000000##FFFFFF
##803FCC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#6F6181
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #803fcc;
/* rgb */ color: rgb(128, 63, 204);
/* oklch */ color: oklch(52.4% 0.207 300.5);
Tailwind
colors: {
  custom: {
    50: '#ab79dc',
    500: '#803fcc',
    950: '#000000',
  },
}
SCSS
$custom: #803fcc;
$custom-light: #ab79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#803fcc",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 267.66,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.20659,
    "h": 300.5
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#803FCC
secondary
#B6D295
accent
#E1479A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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