#783BC2#783BC2

#783BC2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.199 H 299.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#783BC2
RGBrgb(120, 59, 194)
HSLhsl(267, 53%, 50%)
HSVhsv(267, 70%, 76%)
CMYKcmyk(38.1%, 69.6%, 0%, 23.9%)
CIE-LABlab(39.61, 52.90, -60.61)
CIE-LCHlch(39.61, 80.45, 311.11°)
OKLaboklab(50.28% 0.0993 -0.1728)
OKLCHoklch(50.28% 0.199 299.9)
XYZxyz(19.0449, 11.0159, 52.1514)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BC2 #85C23B
analogous
#3B42C2 #783BC2 #BC3BC2
triadic
#783BC2 #C2783B #3BC278
tetradic
#783BC2 #C23B42 #85C23B #3BC2BC
square
#783BC2 #C23B42 #85C23B #3BC2BC
split-complementary
#783BC2 #C2BC3B #42C23B
monochromatic
#3E1E64 #5B2D93 #783BC2 #9869D1 #B898E0

Accessibility & contrast

On white

6.56
#783BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#783BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BC2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BC2#FFFFFF#000000##FFFFFF
##783BC21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#675B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783bc2;
/* rgb */ color: rgb(120, 59, 194);
/* oklch */ color: oklch(50.3% 0.199 299.9);
Tailwind
colors: {
  custom: {
    50: '#a576d5',
    500: '#783bc2',
    950: '#000000',
  },
}
SCSS
$custom: #783bc2;
$custom-light: #a576d5;
$custom-dark: #000000;
JSON
{
  "hex": "#783bc2",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 267.111,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.19931,
    "h": 299.9
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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