#803DCD#803DCD

#803DCD is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.210 H 300.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#803DCD
RGBrgb(128, 61, 205)
HSLhsl(268, 59%, 52%)
HSVhsv(268, 70%, 80%)
CMYKcmyk(37.6%, 70.2%, 0%, 19.6%)
CIE-LABlab(41.74, 56.17, -63.49)
CIE-LCHlch(41.74, 84.77, 311.50°)
OKLaboklab(52.27% 0.1065 -0.181)
OKLCHoklch(52.27% 0.21 300.5)
XYZxyz(21.5876, 12.3343, 58.9892)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DCD #8ACD3D
analogous
#3D42CD #803DCD #C83DCD
triadic
#803DCD #CD803D #3DCD80
tetradic
#803DCD #CD3D42 #8ACD3D #3DCDC8
square
#803DCD #CD3D42 #8ACD3D #3DCDC8
split-complementary
#803DCD #CDC83D #42CD3D
monochromatic
#451D72 #622AA3 #803DCD #A06EDA #C09EE6

Accessibility & contrast

On white

6.06
#803DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#803DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DCD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DCD#FFFFFF#000000##FFFFFF
##803DCD1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#6F6081
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #803dcd;
/* rgb */ color: rgb(128, 61, 205);
/* oklch */ color: oklch(52.3% 0.210 300.5);
Tailwind
colors: {
  custom: {
    50: '#ab78dd',
    500: '#803dcd',
    950: '#000000',
  },
}
SCSS
$custom: #803dcd;
$custom-light: #ab78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#803dcd",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 267.917,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.21006,
    "h": 300.5
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#803DCD
secondary
#B5D293
accent
#E24699
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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