#783CA7#783CA7

#783CA7 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.168 H 307.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#783CA7
RGBrgb(120, 60, 167)
HSLhsl(274, 47%, 45%)
HSVhsv(274, 64%, 65%)
CMYKcmyk(28.1%, 64.1%, 0%, 34.5%)
CIE-LABlab(37.87, 45.80, -47.47)
CIE-LCHlch(37.87, 65.96, 313.97°)
OKLaboklab(48.42% 0.1012 -0.1342)
OKLCHoklch(48.42% 0.168 307)
XYZxyz(16.3352, 10.0150, 37.6243)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA7 #6BA73C
analogous
#433CA7 #783CA7 #A73CA1
triadic
#783CA7 #A7783C #3CA778
tetradic
#783CA7 #A7433C #6BA73C #3CA1A7
square
#783CA7 #A7433C #6BA73C #3CA1A7
split-complementary
#783CA7 #A1A73C #3CA743
monochromatic
#371C4D #582C7A #783CA7 #965CC4 #B389D5

Accessibility & contrast

On white

6.99
#783CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#783CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CA7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA7#FFFFFF#000000##FFFFFF
##783CA71.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#265AA5
Tritanopia (blue-blind)
#70526C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ca7;
/* rgb */ color: rgb(120, 60, 167);
/* oklch */ color: oklch(48.4% 0.168 307.0);
Tailwind
colors: {
  custom: {
    50: '#a375c2',
    500: '#783ca7',
    950: '#000000',
  },
}
SCSS
$custom: #783ca7;
$custom-light: #a375c2;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca7",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 273.645,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48422,
    "c": 0.16807,
    "h": 307
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

primary
#783CA7
secondary
#9CBF80
accent
#D7518C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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