#783EBC#783EBC

#783EBC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.189 H 300.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#783EBC
RGBrgb(120, 62, 188)
HSLhsl(268, 50%, 49%)
HSVhsv(268, 67%, 74%)
CMYKcmyk(36.2%, 67%, 0%, 26.3%)
CIE-LABlab(39.70, 49.92, -56.95)
CIE-LCHlch(39.70, 75.73, 311.24°)
OKLaboklab(50.2% 0.097 -0.1621)
OKLCHoklch(50.2% 0.189 300.9)
XYZxyz(18.5433, 11.0690, 48.7268)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EBC #82BC3E
analogous
#3E43BC #783EBC #B73EBC
triadic
#783EBC #BC783E #3EBC78
tetradic
#783EBC #BC3E43 #82BC3E #3EBCB7
square
#783EBC #BC3E43 #82BC3E #3EBCB7
split-complementary
#783EBC #BCB73E #43BC3E
monochromatic
#3D2060 #5B2F8E #783EBC #986ACE #B798DD

Accessibility & contrast

On white

6.53
#783EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#783EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EBC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EBC#FFFFFF#000000##FFFFFF
##783EBC1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#695B78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783ebc;
/* rgb */ color: rgb(120, 62, 188);
/* oklch */ color: oklch(50.2% 0.189 300.9);
Tailwind
colors: {
  custom: {
    50: '#a477d1',
    500: '#783ebc',
    950: '#000000',
  },
}
SCSS
$custom: #783ebc;
$custom-light: #a477d1;
$custom-dark: #000000;
JSON
{
  "hex": "#783ebc",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 267.619,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.18888,
    "h": 300.9
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#783EBC
secondary
#ADC98D
accent
#DA4E99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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