#803DD2#803DD2

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

Color values

HEX#803DD2
RGBrgb(128, 61, 210)
HSLhsl(267, 62%, 53%)
HSVhsv(267, 71%, 82%)
CMYKcmyk(39%, 71%, 0%, 17.6%)
CIE-LABlab(42.12, 57.40, -65.75)
CIE-LCHlch(42.12, 87.28, 311.12°)
OKLaboklab(52.66% 0.1057 -0.1877)
OKLCHoklch(52.66% 0.215 299.4)
XYZxyz(22.2008, 12.5796, 62.2187)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DD2 #8FD23D
analogous
#3D44D2 #803DD2 #CA3DD2
triadic
#803DD2 #D2803D #3DD280
tetradic
#803DD2 #D23D44 #8FD23D #3DD2CA
square
#803DD2 #D23D44 #8FD23D #3DD2CA
split-complementary
#803DD2 #D2CA3D #44D23D
monochromatic
#461C79 #6228AA #803DD2 #A16FDE #C1A0E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803DD2#FFFFFF#000000##FFFFFF
##803DD21.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)
#0063D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#6D6284
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #803dd2;
/* rgb */ color: rgb(128, 61, 210);
/* oklch */ color: oklch(52.7% 0.215 299.4);
Tailwind
colors: {
  custom: {
    50: '#ab78e1',
    500: '#803dd2',
    950: '#000000',
  },
}
SCSS
$custom: #803dd2;
$custom-light: #ab78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#803dd2",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 266.98,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.2154,
    "h": 299.4
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#803DD2
secondary
#B9D695
accent
#E5429C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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