#803ECD#803ECD

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

Color values

HEX#803ECD
RGBrgb(128, 62, 205)
HSLhsl(268, 59%, 52%)
HSVhsv(268, 70%, 80%)
CMYKcmyk(37.6%, 69.8%, 0%, 19.6%)
CIE-LABlab(41.91, 55.71, -63.21)
CIE-LCHlch(41.91, 84.26, 311.39°)
OKLaboklab(52.39% 0.1056 -0.1802)
OKLCHoklch(52.39% 0.209 300.4)
XYZxyz(21.6414, 12.4420, 59.0072)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803ECD #8BCD3E
analogous
#3E44CD #803ECD #C73ECD
triadic
#803ECD #CD803E #3ECD80
tetradic
#803ECD #CD3E44 #8BCD3E #3ECDC7
square
#803ECD #CD3E44 #8BCD3E #3ECDC7
split-complementary
#803ECD #CDC73E #44CD3E
monochromatic
#451E73 #622AA3 #803ECD #A06FDA #C09FE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803ECD#FFFFFF#000000##FFFFFF
##803ECD1.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)
#0062D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#6F6081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #803ecd;
/* rgb */ color: rgb(128, 62, 205);
/* oklch */ color: oklch(52.4% 0.209 300.4);
Tailwind
colors: {
  custom: {
    50: '#ab78dd',
    500: '#803ecd',
    950: '#000000',
  },
}
SCSS
$custom: #803ecd;
$custom-light: #ab78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#803ecd",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 267.692,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.20887,
    "h": 300.4
  },
  "luminance": 0.12442
}

Semantic roles & 50–950 ramp

primary
#803ECD
secondary
#B6D394
accent
#E2469A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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