#783AA7#783AA7

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

Color values

HEX#783AA7
RGBrgb(120, 58, 167)
HSLhsl(274, 48%, 44%)
HSVhsv(274, 65%, 65%)
CMYKcmyk(28.1%, 65.3%, 0%, 34.5%)
CIE-LABlab(37.50, 46.81, -48.06)
CIE-LCHlch(37.50, 67.09, 314.24°)
OKLaboklab(48.15% 0.1036 -0.136)
OKLCHoklch(48.15% 0.171 307.3)
XYZxyz(16.2324, 9.8094, 37.5900)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA7 #69A73A
analogous
#423AA7 #783AA7 #A73AA0
triadic
#783AA7 #A7783A #3AA778
tetradic
#783AA7 #A7423A #69A73A #3AA0A7
square
#783AA7 #A7423A #69A73A #3AA0A7
split-complementary
#783AA7 #A0A73A #3AA742
monochromatic
#371A4C #572A7A #783AA7 #9759C5 #B386D5

Accessibility & contrast

On white

7.09
#783AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#783AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA7#FFFFFF#000000##FFFFFF
##783AA71.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#2459A5
Tritanopia (blue-blind)
#70516B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783aa7;
/* rgb */ color: rgb(120, 58, 167);
/* oklch */ color: oklch(48.2% 0.171 307.3);
Tailwind
colors: {
  custom: {
    50: '#a374c2',
    500: '#783aa7',
    950: '#000000',
  },
}
SCSS
$custom: #783aa7;
$custom-light: #a374c2;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa7",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 274.128,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48154,
    "c": 0.17091,
    "h": 307.3
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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