#783CB5#783CB5

#783CB5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.184 H 303.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#783CB5
RGBrgb(120, 60, 181)
HSLhsl(270, 50%, 47%)
HSVhsv(270, 67%, 71%)
CMYKcmyk(33.7%, 66.9%, 0%, 29%)
CIE-LABlab(38.83, 49.19, -54.23)
CIE-LCHlch(38.83, 73.22, 312.21°)
OKLaboklab(49.42% 0.1 -0.1541)
OKLCHoklch(49.42% 0.184 303)
XYZxyz(17.7001, 10.5610, 44.8131)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CB5 #79B53C
analogous
#3C3DB5 #783CB5 #B43CB5
triadic
#783CB5 #B5783C #3CB578
tetradic
#783CB5 #B53C3D #79B53C #3CB5B4
square
#783CB5 #B53C3D #79B53C #3CB5B4
split-complementary
#783CB5 #B5B43C #3DB53C
monochromatic
#3B1E59 #5A2D87 #783CB5 #9763CB #B591DB

Accessibility & contrast

On white

6.75
#783CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783CB5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CB5#FFFFFF#000000##FFFFFF
##783CB51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783cb5;
/* rgb */ color: rgb(120, 60, 181);
/* oklch */ color: oklch(49.4% 0.184 303.0);
Tailwind
colors: {
  custom: {
    50: '#a476cc',
    500: '#783cb5',
    950: '#000000',
  },
}
SCSS
$custom: #783cb5;
$custom-light: #a476cc;
$custom-dark: #000000;
JSON
{
  "hex": "#783cb5",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 269.752,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.18369,
    "h": 303
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#783CB5
secondary
#A7C687
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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