#783DC3#783DC3

#783DC3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.198 H 299.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#783DC3
RGBrgb(120, 61, 195)
HSLhsl(266, 53%, 50%)
HSVhsv(266, 69%, 76%)
CMYKcmyk(38.5%, 68.7%, 0%, 23.5%)
CIE-LABlab(40.03, 52.17, -60.50)
CIE-LCHlch(40.03, 79.89, 310.77°)
OKLaboklab(50.6% 0.0971 -0.1725)
OKLCHoklch(50.6% 0.198 299.4)
XYZxyz(19.2623, 11.2705, 52.7798)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DC3 #88C33D
analogous
#3D45C3 #783DC3 #BB3DC3
triadic
#783DC3 #C3783D #3DC378
tetradic
#783DC3 #C33D45 #88C33D #3DC3BB
square
#783DC3 #C33D45 #88C33D #3DC3BB
split-complementary
#783DC3 #C3BB3D #45C33D
monochromatic
#3F2066 #5B2E95 #783DC3 #996CD1 #B99AE0

Accessibility & contrast

On white

6.45
#783DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#783DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DC3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DC3#FFFFFF#000000##FFFFFF
##783DC31.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783dc3;
/* rgb */ color: rgb(120, 61, 195);
/* oklch */ color: oklch(50.6% 0.198 299.4);
Tailwind
colors: {
  custom: {
    50: '#a577d6',
    500: '#783dc3',
    950: '#000000',
  },
}
SCSS
$custom: #783dc3;
$custom-light: #a577d6;
$custom-dark: #000000;
JSON
{
  "hex": "#783dc3",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 266.418,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.19796,
    "h": 299.4
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#783DC3
secondary
#B1CC90
accent
#DC4C9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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