#783EA9#783EA9

#783EA9 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.167 H 306.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#783EA9
RGBrgb(120, 62, 169)
HSLhsl(273, 46%, 45%)
HSVhsv(273, 63%, 66%)
CMYKcmyk(29%, 63.3%, 0%, 33.7%)
CIE-LABlab(38.38, 45.24, -47.84)
CIE-LCHlch(38.38, 65.84, 313.40°)
OKLaboklab(48.83% 0.0986 -0.1353)
OKLCHoklch(48.83% 0.167 306.1)
XYZxyz(16.6282, 10.3030, 38.6411)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EA9 #6FA93E
analogous
#423EA9 #783EA9 #A93EA4
triadic
#783EA9 #A9783E #3EA978
tetradic
#783EA9 #A9423E #6FA93E #3EA4A9
square
#783EA9 #A9423E #6FA93E #3EA4A9
split-complementary
#783EA9 #A4A93E #3EA942
monochromatic
#381D4F #582E7C #783EA9 #9660C5 #B48CD5

Accessibility & contrast

On white

6.86
#783EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#783EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EA9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EA9#FFFFFF#000000##FFFFFF
##783EA91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#275BA7
Tritanopia (blue-blind)
#70546E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783ea9;
/* rgb */ color: rgb(120, 62, 169);
/* oklch */ color: oklch(48.8% 0.167 306.1);
Tailwind
colors: {
  custom: {
    50: '#a377c3',
    500: '#783ea9',
    950: '#000000',
  },
}
SCSS
$custom: #783ea9;
$custom-light: #a377c3;
$custom-dark: #000000;
JSON
{
  "hex": "#783ea9",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 272.523,
    "s": 46.32,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.16745,
    "h": 306.1
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#783EA9
secondary
#9FC083
accent
#D6528E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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