#803DD4#803DD4

#803DD4 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.218 H 298.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#803DD4
RGBrgb(128, 61, 212)
HSLhsl(267, 64%, 54%)
HSVhsv(267, 71%, 83%)
CMYKcmyk(39.6%, 71.2%, 0%, 16.9%)
CIE-LABlab(42.28, 57.89, -66.65)
CIE-LCHlch(42.28, 88.28, 310.97°)
OKLaboklab(52.82% 0.1053 -0.1903)
OKLCHoklch(52.82% 0.218 298.9)
XYZxyz(22.4515, 12.6799, 63.5392)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DD4 #91D43D
analogous
#3D45D4 #803DD4 #CC3DD4
triadic
#803DD4 #D4803D #3DD480
tetradic
#803DD4 #D43D45 #91D43D #3DD4CC
square
#803DD4 #D43D45 #91D43D #3DD4CC
split-complementary
#803DD4 #D4CC3D #45D43D
monochromatic
#461B7B #6226AD #803DD4 #A16FDF #C2A1EA

Accessibility & contrast

On white

5.94
#803DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#803DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DD4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DD4#FFFFFF#000000##FFFFFF
##803DD41.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#6C6385
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #803dd4;
/* rgb */ color: rgb(128, 61, 212);
/* oklch */ color: oklch(52.8% 0.218 298.9);
Tailwind
colors: {
  custom: {
    50: '#ac78e2',
    500: '#803dd4',
    950: '#000000',
  },
}
SCSS
$custom: #803dd4;
$custom-light: #ac78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#803dd4",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 266.623,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.21752,
    "h": 298.9
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#803DD4
secondary
#BAD796
accent
#E7419D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #803DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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