#783AA8#783AA8

#783AA8 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.172 H 307.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#783AA8
RGBrgb(120, 58, 168)
HSLhsl(274, 49%, 44%)
HSVhsv(274, 65%, 66%)
CMYKcmyk(28.6%, 65.5%, 0%, 34.1%)
CIE-LABlab(37.57, 47.05, -48.55)
CIE-LCHlch(37.57, 67.61, 314.10°)
OKLaboklab(48.22% 0.1035 -0.1374)
OKLCHoklch(48.22% 0.172 307)
XYZxyz(16.3252, 9.8465, 38.0787)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA8 #6AA83A
analogous
#413AA8 #783AA8 #A83AA1
triadic
#783AA8 #A8783A #3AA878
tetradic
#783AA8 #A8413A #6AA83A #3AA1A8
square
#783AA8 #A8413A #6AA83A #3AA1A8
split-complementary
#783AA8 #A1A83A #3AA841
monochromatic
#371B4D #582A7B #783AA8 #9759C6 #B387D6

Accessibility & contrast

On white

7.07
#783AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#783AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA8#FFFFFF#000000##FFFFFF
##783AA81.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#2259A6
Tritanopia (blue-blind)
#70516C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783aa8;
/* rgb */ color: rgb(120, 58, 168);
/* oklch */ color: oklch(48.2% 0.172 307.0);
Tailwind
colors: {
  custom: {
    50: '#a374c2',
    500: '#783aa8',
    950: '#000000',
  },
}
SCSS
$custom: #783aa8;
$custom-light: #a374c2;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa8",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 273.818,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.17202,
    "h": 307
  },
  "luminance": 0.09846
}

Semantic roles & 50–950 ramp

primary
#783AA8
secondary
#9BC07E
accent
#D8508B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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