#783DA0#783DA0

#783DA0 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.159 H 309.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#783DA0
RGBrgb(120, 61, 160)
HSLhsl(276, 45%, 43%)
HSVhsv(276, 62%, 63%)
CMYKcmyk(25%, 61.9%, 0%, 37.3%)
CIE-LABlab(37.61, 43.62, -43.69)
CIE-LCHlch(37.61, 61.74, 314.95°)
OKLaboklab(48.09% 0.1002 -0.1232)
OKLCHoklch(48.09% 0.159 309.1)
XYZxyz(15.7584, 9.8689, 34.3256)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DA0 #65A03D
analogous
#473DA0 #783DA0 #A03D96
triadic
#783DA0 #A0783D #3DA078
tetradic
#783DA0 #A0473D #65A03D #3D96A0
square
#783DA0 #A0473D #65A03D #3D96A0
split-complementary
#783DA0 #96A03D #3DA047
monochromatic
#361B47 #572C74 #783DA0 #975AC0 #B386D1

Accessibility & contrast

On white

7.06
#783DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783DA0
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DA0#FFFFFF#000000##FFFFFF
##783DA01.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1156A3
Deuteranopia (green-blind)
#30599E
Tritanopia (blue-blind)
#725069
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783da0;
/* rgb */ color: rgb(120, 61, 160);
/* oklch */ color: oklch(48.1% 0.159 309.1);
Tailwind
colors: {
  custom: {
    50: '#a276bd',
    500: '#783da0',
    950: '#000000',
  },
}
SCSS
$custom: #783da0;
$custom-light: #a276bd;
$custom-dark: #000000;
JSON
{
  "hex": "#783da0",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 275.758,
    "s": 44.796,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48086,
    "c": 0.15875,
    "h": 309.1
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#783DA0
secondary
#96BB7D
accent
#D45388
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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