#803FCD#803FCD

#803FCD is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.208 H 300.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#803FCD
RGBrgb(128, 63, 205)
HSLhsl(267, 59%, 53%)
HSVhsv(267, 69%, 80%)
CMYKcmyk(37.6%, 69.3%, 0%, 19.6%)
CIE-LABlab(42.08, 55.23, -62.94)
CIE-LCHlch(42.08, 83.74, 311.27°)
OKLaboklab(52.51% 0.1046 -0.1794)
OKLCHoklch(52.51% 0.208 300.2)
XYZxyz(21.6963, 12.5518, 59.0254)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FCD #8CCD3F
analogous
#3F45CD #803FCD #C73FCD
triadic
#803FCD #CD803F #3FCD80
tetradic
#803FCD #CD3F45 #8CCD3F #3FCDC7
square
#803FCD #CD3F45 #8CCD3F #3FCDC7
split-complementary
#803FCD #CDC73F #45CD3F
monochromatic
#451E74 #622BA4 #803FCD #A070DA #C0A0E6

Accessibility & contrast

On white

5.98
#803FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#803FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FCD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FCD#FFFFFF#000000##FFFFFF
##803FCD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #803fcd;
/* rgb */ color: rgb(128, 63, 205);
/* oklch */ color: oklch(52.5% 0.208 300.2);
Tailwind
colors: {
  custom: {
    50: '#ab79dd',
    500: '#803fcd',
    950: '#000000',
  },
}
SCSS
$custom: #803fcd;
$custom-light: #ab79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#803fcd",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 267.465,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.20768,
    "h": 300.2
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#803FCD
secondary
#B7D395
accent
#E2469A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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