#783DBC#783DBC

#783DBC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.190 H 301.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#783DBC
RGBrgb(120, 61, 188)
HSLhsl(268, 51%, 49%)
HSVhsv(268, 68%, 74%)
CMYKcmyk(36.2%, 67.6%, 0%, 26.3%)
CIE-LABlab(39.52, 50.42, -57.24)
CIE-LCHlch(39.52, 76.28, 311.37°)
OKLaboklab(50.07% 0.098 -0.163)
OKLCHoklch(50.07% 0.19 301)
XYZxyz(18.4894, 10.9613, 48.7088)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DBC #81BC3D
analogous
#3D42BC #783DBC #B83DBC
triadic
#783DBC #BC783D #3DBC78
tetradic
#783DBC #BC3D42 #81BC3D #3DBCB8
square
#783DBC #BC3D42 #81BC3D #3DBCB8
split-complementary
#783DBC #BCB83D #42BC3D
monochromatic
#3D1F60 #5B2E8E #783DBC #9768CE #B796DD

Accessibility & contrast

On white

6.58
#783DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#783DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DBC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DBC#FFFFFF#000000##FFFFFF
##783DBC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#695A77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783dbc;
/* rgb */ color: rgb(120, 61, 188);
/* oklch */ color: oklch(50.1% 0.190 301.0);
Tailwind
colors: {
  custom: {
    50: '#a477d1',
    500: '#783dbc',
    950: '#000000',
  },
}
SCSS
$custom: #783dbc;
$custom-light: #a477d1;
$custom-dark: #000000;
JSON
{
  "hex": "#783dbc",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 267.874,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50071,
    "c": 0.19017,
    "h": 301
  },
  "luminance": 0.10961
}

Semantic roles & 50–950 ramp

primary
#783DBC
secondary
#ADC98C
accent
#DA4D99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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