#783BC3#783BC3

#783BC3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.4% C 0.200 H 299.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#783BC3
RGBrgb(120, 59, 195)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 76%)
CMYKcmyk(38.5%, 69.7%, 0%, 23.5%)
CIE-LABlab(39.68, 53.15, -61.07)
CIE-LCHlch(39.68, 80.96, 311.03°)
OKLaboklab(50.35% 0.0991 -0.1742)
OKLCHoklch(50.35% 0.2 299.6)
XYZxyz(19.1576, 11.0609, 52.7448)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BC3 #86C33B
analogous
#3B42C3 #783BC3 #BC3BC3
triadic
#783BC3 #C3783B #3BC378
tetradic
#783BC3 #C33B42 #86C33B #3BC3BC
square
#783BC3 #C33B42 #86C33B #3BC3BC
split-complementary
#783BC3 #C3BC3B #42C33B
monochromatic
#3E1F65 #5B2D94 #783BC3 #9869D2 #B998E0

Accessibility & contrast

On white

6.54
#783BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#783BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BC3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BC3#FFFFFF#000000##FFFFFF
##783BC31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#675C7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783bc3;
/* rgb */ color: rgb(120, 59, 195);
/* oklch */ color: oklch(50.4% 0.200 299.6);
Tailwind
colors: {
  custom: {
    50: '#a576d6',
    500: '#783bc3',
    950: '#000000',
  },
}
SCSS
$custom: #783bc3;
$custom-light: #a576d6;
$custom-dark: #000000;
JSON
{
  "hex": "#783bc3",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 266.912,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.20041,
    "h": 299.6
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#783BC3
secondary
#B0CC8E
accent
#DD4B9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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