#783EAF#783EAF

#783EAF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.174 H 304.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#783EAF
RGBrgb(120, 62, 175)
HSLhsl(271, 48%, 46%)
HSVhsv(271, 65%, 69%)
CMYKcmyk(31.4%, 64.6%, 0%, 31.4%)
CIE-LABlab(38.78, 46.70, -50.76)
CIE-LCHlch(38.78, 68.98, 312.62°)
OKLaboklab(49.25% 0.0982 -0.1439)
OKLCHoklch(49.25% 0.174 304.3)
XYZxyz(17.2045, 10.5335, 41.6759)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EAF #75AF3E
analogous
#403EAF #783EAF #AF3EAE
triadic
#783EAF #AF783E #3EAF78
tetradic
#783EAF #AF403E #75AF3E #3EAEAF
square
#783EAF #AF403E #75AF3E #3EAEAF
split-complementary
#783EAF #AEAF3E #3EAF40
monochromatic
#3A1E55 #592E82 #783EAF #9663C8 #B590D8

Accessibility & contrast

On white

6.76
#783EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#783EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EAF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EAF#FFFFFF#000000##FFFFFF
##783EAF1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#1E5BAC
Tritanopia (blue-blind)
#6E5671
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783eaf;
/* rgb */ color: rgb(120, 62, 175);
/* oklch */ color: oklch(49.3% 0.174 304.3);
Tailwind
colors: {
  custom: {
    50: '#a377c8',
    500: '#783eaf',
    950: '#000000',
  },
}
SCSS
$custom: #783eaf;
$custom-light: #a377c8;
$custom-dark: #000000;
JSON
{
  "hex": "#783eaf",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 270.796,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.17423,
    "h": 304.3
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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