#783CC3#783CC3

#783CC3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.199 H 299.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#783CC3
RGBrgb(120, 60, 195)
HSLhsl(267, 53%, 50%)
HSVhsv(267, 69%, 76%)
CMYKcmyk(38.5%, 69.2%, 0%, 23.5%)
CIE-LABlab(39.86, 52.66, -60.79)
CIE-LCHlch(39.86, 80.43, 310.90°)
OKLaboklab(50.48% 0.0981 -0.1734)
OKLCHoklch(50.48% 0.199 299.5)
XYZxyz(19.2095, 11.1647, 52.7621)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CC3 #87C33C
analogous
#3C43C3 #783CC3 #BC3CC3
triadic
#783CC3 #C3783C #3CC378
tetradic
#783CC3 #C33C43 #87C33C #3CC3BC
square
#783CC3 #C33C43 #87C33C #3CC3BC
split-complementary
#783CC3 #C3BC3C #43C33C
monochromatic
#3E1F65 #5B2E94 #783CC3 #986BD1 #B99AE0

Accessibility & contrast

On white

6.50
#783CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#783CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CC3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CC3#FFFFFF#000000##FFFFFF
##783CC31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#675C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783cc3;
/* rgb */ color: rgb(120, 60, 195);
/* oklch */ color: oklch(50.5% 0.199 299.5);
Tailwind
colors: {
  custom: {
    50: '#a576d6',
    500: '#783cc3',
    950: '#000000',
  },
}
SCSS
$custom: #783cc3;
$custom-light: #a576d6;
$custom-dark: #000000;
JSON
{
  "hex": "#783cc3",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 266.667,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.19919,
    "h": 299.5
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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