#803DCF#803DCF

#803DCF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.212 H 300.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#803DCF
RGBrgb(128, 61, 207)
HSLhsl(268, 60%, 53%)
HSVhsv(268, 71%, 81%)
CMYKcmyk(38.2%, 70.5%, 0%, 18.8%)
CIE-LABlab(41.89, 56.66, -64.40)
CIE-LCHlch(41.89, 85.78, 311.34°)
OKLaboklab(52.43% 0.1062 -0.1837)
OKLCHoklch(52.43% 0.212 300)
XYZxyz(21.8305, 12.4315, 60.2688)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DCF #8CCF3D
analogous
#3D43CF #803DCF #C93DCF
triadic
#803DCF #CF803D #3DCF80
tetradic
#803DCF #CF3D43 #8CCF3D #3DCFC9
square
#803DCF #CF3D43 #8CCF3D #3DCFC9
split-complementary
#803DCF #CFC93D #43CF3D
monochromatic
#451D75 #6229A6 #803DCF #A06EDB #C09FE7

Accessibility & contrast

On white

6.02
#803DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#803DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DCF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DCF#FFFFFF#000000##FFFFFF
##803DCF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#6E6182
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #803dcf;
/* rgb */ color: rgb(128, 61, 207);
/* oklch */ color: oklch(52.4% 0.212 300.0);
Tailwind
colors: {
  custom: {
    50: '#ab78df',
    500: '#803dcf',
    950: '#000000',
  },
}
SCSS
$custom: #803dcf;
$custom-light: #ab78df;
$custom-dark: #000000;
JSON
{
  "hex": "#803dcf",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 267.534,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.2122,
    "h": 300
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#803DCF
secondary
#B7D494
accent
#E3449A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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