#803ED2#803ED2

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

Color values

HEX#803ED2
RGBrgb(128, 62, 210)
HSLhsl(267, 62%, 53%)
HSVhsv(267, 70%, 82%)
CMYKcmyk(39%, 70.5%, 0%, 17.6%)
CIE-LABlab(42.29, 56.93, -65.48)
CIE-LCHlch(42.29, 86.77, 311.00°)
OKLaboklab(52.78% 0.1047 -0.1869)
OKLCHoklch(52.78% 0.214 299.3)
XYZxyz(22.2546, 12.6873, 62.2367)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803ED2 #90D23E
analogous
#3E46D2 #803ED2 #CA3ED2
triadic
#803ED2 #D2803E #3ED280
tetradic
#803ED2 #D23E46 #90D23E #3ED2CA
square
#803ED2 #D23E46 #90D23E #3ED2CA
split-complementary
#803ED2 #D2CA3E #46D23E
monochromatic
#461C79 #6228AB #803ED2 #A170DE #C1A1E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803ED2#FFFFFF#000000##FFFFFF
##803ED21.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)
#0064D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#6D6284
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #803ed2;
/* rgb */ color: rgb(128, 62, 210);
/* oklch */ color: oklch(52.8% 0.214 299.3);
Tailwind
colors: {
  custom: {
    50: '#ab79e1',
    500: '#803ed2',
    950: '#000000',
  },
}
SCSS
$custom: #803ed2;
$custom-light: #ab79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#803ed2",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 266.757,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.21424,
    "h": 299.3
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#803ED2
secondary
#B9D696
accent
#E5439D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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