#783EBB#783EBB

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

Color values

HEX#783EBB
RGBrgb(120, 62, 187)
HSLhsl(268, 50%, 49%)
HSVhsv(268, 67%, 73%)
CMYKcmyk(35.8%, 66.8%, 0%, 26.7%)
CIE-LABlab(39.62, 49.67, -56.48)
CIE-LCHlch(39.62, 75.21, 311.33°)
OKLaboklab(50.13% 0.0971 -0.1607)
OKLCHoklch(50.13% 0.188 301.1)
XYZxyz(18.4358, 11.0261, 48.1610)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EBB #81BB3E
analogous
#3E43BB #783EBB #B73EBB
triadic
#783EBB #BB783E #3EBB78
tetradic
#783EBB #BB3E43 #81BB3E #3EBBB7
square
#783EBB #BB3E43 #81BB3E #3EBBB7
split-complementary
#783EBB #BBB73E #43BB3E
monochromatic
#3D205F #5B2F8D #783EBB #9769CD #B797DC

Accessibility & contrast

On white

6.55
#783EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783EBB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EBB#FFFFFF#000000##FFFFFF
##783EBB1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#6A5B77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783ebb;
/* rgb */ color: rgb(120, 62, 187);
/* oklch */ color: oklch(50.1% 0.188 301.1);
Tailwind
colors: {
  custom: {
    50: '#a477d0',
    500: '#783ebb',
    950: '#000000',
  },
}
SCSS
$custom: #783ebb;
$custom-light: #a477d0;
$custom-dark: #000000;
JSON
{
  "hex": "#783ebb",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 267.84,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.18776,
    "h": 301.1
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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