#803FCE#803FCE

#803FCE is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.209 H 300.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#803FCE
RGBrgb(128, 63, 206)
HSLhsl(267, 59%, 53%)
HSVhsv(267, 69%, 81%)
CMYKcmyk(37.9%, 69.4%, 0%, 19.2%)
CIE-LABlab(42.15, 55.48, -63.39)
CIE-LCHlch(42.15, 84.24, 311.19°)
OKLaboklab(52.59% 0.1044 -0.1808)
OKLCHoklch(52.59% 0.209 300)
XYZxyz(21.8174, 12.6002, 59.6632)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FCE #8DCE3F
analogous
#3F45CE #803FCE #C83FCE
triadic
#803FCE #CE803F #3FCE80
tetradic
#803FCE #CE3F45 #8DCE3F #3FCEC8
square
#803FCE #CE3F45 #8DCE3F #3FCEC8
split-complementary
#803FCE #CEC83F #45CE3F
monochromatic
#451E75 #622AA6 #803FCE #A070DA #C1A1E7

Accessibility & contrast

On white

5.97
#803FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#803FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FCE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FCE#FFFFFF#000000##FFFFFF
##803FCE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#6E6182
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #803fce;
/* rgb */ color: rgb(128, 63, 206);
/* oklch */ color: oklch(52.6% 0.209 300.0);
Tailwind
colors: {
  custom: {
    50: '#ab79de',
    500: '#803fce',
    950: '#000000',
  },
}
SCSS
$custom: #803fce;
$custom-light: #ab79de;
$custom-dark: #000000;
JSON
{
  "hex": "#803fce",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 267.273,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.20876,
    "h": 300
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #803FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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