#783BB7#783BB7

#783BB7 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.187 H 302.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#783BB7
RGBrgb(120, 59, 183)
HSLhsl(270, 51%, 47%)
HSVhsv(270, 68%, 72%)
CMYKcmyk(34.4%, 67.8%, 0%, 28.2%)
CIE-LABlab(38.79, 50.18, -55.47)
CIE-LCHlch(38.79, 74.80, 312.13°)
OKLaboklab(49.44% 0.1008 -0.1577)
OKLCHoklch(49.44% 0.187 302.6)
XYZxyz(17.8549, 10.5399, 45.8843)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BB7 #7AB73B
analogous
#3B3CB7 #783BB7 #B63BB7
triadic
#783BB7 #B7783B #3BB778
tetradic
#783BB7 #B73B3C #7AB73B #3BB7B6
square
#783BB7 #B73B3C #7AB73B #3BB7B6
split-complementary
#783BB7 #B7B63B #3CB73B
monochromatic
#3B1D5A #5A2C89 #783BB7 #9763CD #B691DC

Accessibility & contrast

On white

6.76
#783BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#783BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BB7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BB7#FFFFFF#000000##FFFFFF
##783BB71.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#6B5774
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783bb7;
/* rgb */ color: rgb(120, 59, 183);
/* oklch */ color: oklch(49.4% 0.187 302.6);
Tailwind
colors: {
  custom: {
    50: '#a475cd',
    500: '#783bb7',
    950: '#000000',
  },
}
SCSS
$custom: #783bb7;
$custom-light: #a475cd;
$custom-dark: #000000;
JSON
{
  "hex": "#783bb7",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 269.516,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4944,
    "c": 0.18722,
    "h": 302.6
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#783BB7
secondary
#A7C687
accent
#DB4D95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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