#783DB7#783DB7

#783DB7 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.185 H 302.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#783DB7
RGBrgb(120, 61, 183)
HSLhsl(269, 50%, 48%)
HSVhsv(269, 67%, 72%)
CMYKcmyk(34.4%, 66.7%, 0%, 28.2%)
CIE-LABlab(39.16, 49.18, -54.89)
CIE-LCHlch(39.16, 73.70, 311.86°)
OKLaboklab(49.7% 0.0986 -0.156)
OKLCHoklch(49.7% 0.185 302.3)
XYZxyz(17.9597, 10.7494, 45.9192)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DB7 #7CB73D
analogous
#3D3FB7 #783DB7 #B53DB7
triadic
#783DB7 #B7783D #3DB778
tetradic
#783DB7 #B73D3F #7CB73D #3DB7B5
square
#783DB7 #B73D3F #7CB73D #3DB7B5
split-complementary
#783DB7 #B7B53D #3FB73D
monochromatic
#3C1E5B #5A2E89 #783DB7 #9765CC #B693DB

Accessibility & contrast

On white

6.67
#783DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#783DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DB7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DB7#FFFFFF#000000##FFFFFF
##783DB71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#045CB4
Tritanopia (blue-blind)
#6B5875
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783db7;
/* rgb */ color: rgb(120, 61, 183);
/* oklch */ color: oklch(49.7% 0.185 302.3);
Tailwind
colors: {
  custom: {
    50: '#a476cd',
    500: '#783db7',
    950: '#000000',
  },
}
SCSS
$custom: #783db7;
$custom-light: #a476cd;
$custom-dark: #000000;
JSON
{
  "hex": "#783db7",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 269.016,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49699,
    "c": 0.18459,
    "h": 302.3
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#783DB7
secondary
#A9C689
accent
#DA4E96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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