#783EAE#783EAE

#783EAE is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.173 H 304.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#783EAE
RGBrgb(120, 62, 174)
HSLhsl(271, 47%, 46%)
HSVhsv(271, 64%, 68%)
CMYKcmyk(31%, 64.4%, 0%, 31.8%)
CIE-LABlab(38.72, 46.46, -50.27)
CIE-LCHlch(38.72, 68.45, 312.74°)
OKLaboklab(49.18% 0.0983 -0.1425)
OKLCHoklch(49.18% 0.173 304.6)
XYZxyz(17.1066, 10.4944, 41.1606)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EAE #74AE3E
analogous
#403EAE #783EAE #AE3EAC
triadic
#783EAE #AE783E #3EAE78
tetradic
#783EAE #AE403E #74AE3E #3EACAE
square
#783EAE #AE403E #74AE3E #3EACAE
split-complementary
#783EAE #ACAE3E #3EAE40
monochromatic
#3A1E54 #592E81 #783EAE #9662C7 #B48FD7

Accessibility & contrast

On white

6.78
#783EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#783EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EAE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EAE#FFFFFF#000000##FFFFFF
##783EAE1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#1F5BAC
Tritanopia (blue-blind)
#6E5670
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783eae;
/* rgb */ color: rgb(120, 62, 174);
/* oklch */ color: oklch(49.2% 0.173 304.6);
Tailwind
colors: {
  custom: {
    50: '#a377c7',
    500: '#783eae',
    950: '#000000',
  },
}
SCSS
$custom: #783eae;
$custom-light: #a377c7;
$custom-dark: #000000;
JSON
{
  "hex": "#783eae",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 271.071,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49183,
    "c": 0.17311,
    "h": 304.6
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#783EAE
secondary
#A3C286
accent
#D75192
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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