#783BB5#783BB5

#783BB5 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.185 H 303.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#783BB5
RGBrgb(120, 59, 181)
HSLhsl(270, 51%, 47%)
HSVhsv(270, 67%, 71%)
CMYKcmyk(33.7%, 67.4%, 0%, 29%)
CIE-LABlab(38.65, 49.69, -54.52)
CIE-LCHlch(38.65, 73.77, 312.34°)
OKLaboklab(49.29% 0.1011 -0.155)
OKLCHoklch(49.29% 0.185 303.1)
XYZxyz(17.6482, 10.4572, 44.7958)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BB5 #78B53B
analogous
#3B3BB5 #783BB5 #B53BB5
triadic
#783BB5 #B5783B #3BB578
tetradic
#783BB5 #B53B3B #78B53B #3BB5B5
square
#783BB5 #B53B3B #78B53B #3BB5B5
split-complementary
#783BB5 #B5B53B #3BB53B
monochromatic
#3B1D59 #592C87 #783BB5 #9762CC #B590DB

Accessibility & contrast

On white

6.79
#783BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#783BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BB5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BB5#FFFFFF#000000##FFFFFF
##783BB51.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#045BB2
Tritanopia (blue-blind)
#6C5773
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783bb5;
/* rgb */ color: rgb(120, 59, 181);
/* oklch */ color: oklch(49.3% 0.185 303.1);
Tailwind
colors: {
  custom: {
    50: '#a475cc',
    500: '#783bb5',
    950: '#000000',
  },
}
SCSS
$custom: #783bb5;
$custom-light: #a475cc;
$custom-dark: #000000;
JSON
{
  "hex": "#783bb5",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 270,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.18501,
    "h": 303.1
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#783BB5
secondary
#A6C686
accent
#DA4D94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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