#783EA4#783EA4

#783EA4 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.162 H 307.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#783EA4
RGBrgb(120, 62, 164)
HSLhsl(274, 45%, 44%)
HSVhsv(274, 62%, 64%)
CMYKcmyk(26.8%, 62.2%, 0%, 35.7%)
CIE-LABlab(38.05, 44.04, -45.37)
CIE-LCHlch(38.05, 63.23, 314.15°)
OKLaboklab(48.49% 0.0988 -0.1281)
OKLCHoklch(48.49% 0.162 307.6)
XYZxyz(16.1678, 10.1189, 36.2162)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EA4 #6AA43E
analogous
#453EA4 #783EA4 #A43E9D
triadic
#783EA4 #A4783E #3EA478
tetradic
#783EA4 #A4453E #6AA43E #3E9DA4
square
#783EA4 #A4453E #6AA43E #3E9DA4
split-complementary
#783EA4 #9DA43E #3EA445
monochromatic
#371C4B #582D78 #783EA4 #975DC2 #B38AD3

Accessibility & contrast

On white

6.94
#783EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#783EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EA4
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EA4#FFFFFF#000000##FFFFFF
##783EA41.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A7
Deuteranopia (green-blind)
#2D5AA2
Tritanopia (blue-blind)
#71526B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783ea4;
/* rgb */ color: rgb(120, 62, 164);
/* oklch */ color: oklch(48.5% 0.162 307.6);
Tailwind
colors: {
  custom: {
    50: '#a276bf',
    500: '#783ea4',
    950: '#000000',
  },
}
SCSS
$custom: #783ea4;
$custom-light: #a276bf;
$custom-dark: #000000;
JSON
{
  "hex": "#783ea4",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 274.118,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.16177,
    "h": 307.6
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#783EA4
secondary
#9BBD81
accent
#D5538B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783EA4

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

Preview Lab → · Contrast checker → · Palette generator →

#783EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva