#783CA5#783CA5

#783CA5 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.166 H 307.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#783CA5
RGBrgb(120, 60, 165)
HSLhsl(274, 47%, 44%)
HSVhsv(274, 64%, 65%)
CMYKcmyk(27.3%, 63.6%, 0%, 35.3%)
CIE-LABlab(37.74, 45.32, -46.48)
CIE-LCHlch(37.74, 64.92, 314.27°)
OKLaboklab(48.28% 0.1013 -0.1313)
OKLCHoklch(48.28% 0.166 307.6)
XYZxyz(16.1517, 9.9416, 36.6581)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA5 #69A53C
analogous
#443CA5 #783CA5 #A53C9E
triadic
#783CA5 #A5783C #3CA578
tetradic
#783CA5 #A5443C #69A53C #3C9EA5
square
#783CA5 #A5443C #69A53C #3C9EA5
split-complementary
#783CA5 #9EA53C #3CA544
monochromatic
#371B4B #572C78 #783CA5 #975BC3 #B388D4

Accessibility & contrast

On white

7.03
#783CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#783CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783CA5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA5#FFFFFF#000000##FFFFFF
##783CA51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#2959A3
Tritanopia (blue-blind)
#71516B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ca5;
/* rgb */ color: rgb(120, 60, 165);
/* oklch */ color: oklch(48.3% 0.166 307.6);
Tailwind
colors: {
  custom: {
    50: '#a275c0',
    500: '#783ca5',
    950: '#000000',
  },
}
SCSS
$custom: #783ca5;
$custom-light: #a275c0;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca5",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 274.286,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48284,
    "c": 0.16584,
    "h": 307.6
  },
  "luminance": 0.09941
}

Semantic roles & 50–950 ramp

primary
#783CA5
secondary
#9ABE7F
accent
#D6518A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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