#783EBA#783EBA

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

Color values

HEX#783EBA
RGBrgb(120, 62, 186)
HSLhsl(268, 50%, 49%)
HSVhsv(268, 67%, 73%)
CMYKcmyk(35.5%, 66.7%, 0%, 27.1%)
CIE-LABlab(39.55, 49.42, -56.01)
CIE-LCHlch(39.55, 74.70, 311.42°)
OKLaboklab(50.05% 0.0972 -0.1593)
OKLCHoklch(50.05% 0.187 301.4)
XYZxyz(18.3292, 10.9834, 47.5992)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EBA #80BA3E
analogous
#3E42BA #783EBA #B63EBA
triadic
#783EBA #BA783E #3EBA78
tetradic
#783EBA #BA3E42 #80BA3E #3EBAB6
square
#783EBA #BA3E42 #80BA3E #3EBAB6
split-complementary
#783EBA #BAB63E #42BA3E
monochromatic
#3D1F5E #5A2F8C #783EBA #9768CD #B796DC

Accessibility & contrast

On white

6.57
#783EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783EBA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EBA#FFFFFF#000000##FFFFFF
##783EBA1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#6A5A77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783eba;
/* rgb */ color: rgb(120, 62, 186);
/* oklch */ color: oklch(50.1% 0.187 301.4);
Tailwind
colors: {
  custom: {
    50: '#a477d0',
    500: '#783eba',
    950: '#000000',
  },
}
SCSS
$custom: #783eba;
$custom-light: #a477d0;
$custom-dark: #000000;
JSON
{
  "hex": "#783eba",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 268.065,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50052,
    "c": 0.18664,
    "h": 301.4
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#783EBA
secondary
#ACC88C
accent
#DA4E98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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