#783BC4#783BC4

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

Color values

HEX#783BC4
RGBrgb(120, 59, 196)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 77%)
CMYKcmyk(38.8%, 69.9%, 0%, 23.1%)
CIE-LABlab(39.76, 53.40, -61.53)
CIE-LCHlch(39.76, 81.47, 310.95°)
OKLaboklab(50.43% 0.0989 -0.1756)
OKLCHoklch(50.43% 0.202 299.4)
XYZxyz(19.2710, 11.1063, 53.3423)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BC4 #87C43B
analogous
#3B43C4 #783BC4 #BC3BC4
triadic
#783BC4 #C4783B #3BC478
tetradic
#783BC4 #C43B43 #87C43B #3BC4BC
square
#783BC4 #C43B43 #87C43B #3BC4BC
split-complementary
#783BC4 #C4BC3B #43C43B
monochromatic
#3E1F66 #5B2D95 #783BC4 #986AD2 #B999E0

Accessibility & contrast

On white

6.52
#783BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#783BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BC4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BC4#FFFFFF#000000##FFFFFF
##783BC41.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#665C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783bc4;
/* rgb */ color: rgb(120, 59, 196);
/* oklch */ color: oklch(50.4% 0.202 299.4);
Tailwind
colors: {
  custom: {
    50: '#a576d7',
    500: '#783bc4',
    950: '#000000',
  },
}
SCSS
$custom: #783bc4;
$custom-light: #a576d7;
$custom-dark: #000000;
JSON
{
  "hex": "#783bc4",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 266.715,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.2015,
    "h": 299.4
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#783BC4
secondary
#B1CC8F
accent
#DD4B9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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