#803EB3#803EB3

#803EB3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.181 H 307.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#803EB3
RGBrgb(128, 62, 179)
HSLhsl(274, 49%, 47%)
HSVhsv(274, 65%, 70%)
CMYKcmyk(28.5%, 65.4%, 0%, 29.8%)
CIE-LABlab(40.06, 49.46, -51.01)
CIE-LCHlch(40.06, 71.05, 314.12°)
OKLaboklab(50.48% 0.1087 -0.1444)
OKLCHoklch(50.48% 0.181 307)
XYZxyz(18.7597, 11.2893, 43.8299)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EB3 #71B33E
analogous
#453EB3 #803EB3 #B33EAC
triadic
#803EB3 #B3803E #3EB380
tetradic
#803EB3 #B3453E #71B33E #3EACB3
square
#803EB3 #B3453E #71B33E #3EACB3
split-complementary
#803EB3 #ACB33E #3EB345
monochromatic
#3F1F58 #5F2E86 #803EB3 #9E65CA #BA92D9

Accessibility & contrast

On white

6.45
#803EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#803EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EB3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EB3#FFFFFF#000000##FFFFFF
##803EB31.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#245FB0
Tritanopia (blue-blind)
#785773
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803eb3;
/* rgb */ color: rgb(128, 62, 179);
/* oklch */ color: oklch(50.5% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#a978ca',
    500: '#803eb3',
    950: '#000000',
  },
}
SCSS
$custom: #803eb3;
$custom-light: #a978ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803eb3",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 273.846,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.18074,
    "h": 307
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#803EB3
secondary
#A3C588
accent
#D8508B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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