#783EA8#783EA8

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

Color values

HEX#783EA8
RGBrgb(120, 62, 168)
HSLhsl(273, 46%, 45%)
HSVhsv(273, 63%, 66%)
CMYKcmyk(28.6%, 63.1%, 0%, 34.1%)
CIE-LABlab(38.31, 45.00, -47.35)
CIE-LCHlch(38.31, 65.32, 313.55°)
OKLaboklab(48.77% 0.0987 -0.1339)
OKLCHoklch(48.77% 0.166 306.4)
XYZxyz(16.5347, 10.2656, 38.1486)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EA8 #6EA83E
analogous
#433EA8 #783EA8 #A83EA3
triadic
#783EA8 #A8783E #3EA878
tetradic
#783EA8 #A8433E #6EA83E #3EA3A8
square
#783EA8 #A8433E #6EA83E #3EA3A8
split-complementary
#783EA8 #A3A83E #3EA843
monochromatic
#381D4F #582E7B #783EA8 #965FC4 #B48CD5

Accessibility & contrast

On white

6.88
#783EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#783EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EA8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EA8#FFFFFF#000000##FFFFFF
##783EA81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#285BA6
Tritanopia (blue-blind)
#70546D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783ea8;
/* rgb */ color: rgb(120, 62, 168);
/* oklch */ color: oklch(48.8% 0.166 306.4);
Tailwind
colors: {
  custom: {
    50: '#a277c2',
    500: '#783ea8',
    950: '#000000',
  },
}
SCSS
$custom: #783ea8;
$custom-light: #a277c2;
$custom-dark: #000000;
JSON
{
  "hex": "#783ea8",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 272.83,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48766,
    "c": 0.16631,
    "h": 306.4
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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