#783DBB#783DBB

#783DBB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.189 H 301.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#783DBB
RGBrgb(120, 61, 187)
HSLhsl(268, 51%, 49%)
HSVhsv(268, 67%, 73%)
CMYKcmyk(35.8%, 67.4%, 0%, 26.7%)
CIE-LABlab(39.44, 50.17, -56.78)
CIE-LCHlch(39.44, 75.77, 311.47°)
OKLaboklab(50% 0.0982 -0.1616)
OKLCHoklch(50% 0.189 301.3)
XYZxyz(18.3820, 10.9183, 48.1431)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DBB #80BB3D
analogous
#3D41BB #783DBB #B73DBB
triadic
#783DBB #BB783D #3DBB78
tetradic
#783DBB #BB3D41 #80BB3D #3DBBB7
square
#783DBB #BB3D41 #80BB3D #3DBBB7
split-complementary
#783DBB #BBB73D #41BB3D
monochromatic
#3D1F5F #5A2E8D #783DBB #9768CE #B796DD

Accessibility & contrast

On white

6.60
#783DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#783DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DBB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DBB#FFFFFF#000000##FFFFFF
##783DBB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783dbb;
/* rgb */ color: rgb(120, 61, 187);
/* oklch */ color: oklch(50.0% 0.189 301.3);
Tailwind
colors: {
  custom: {
    50: '#a477d0',
    500: '#783dbb',
    950: '#000000',
  },
}
SCSS
$custom: #783dbb;
$custom-light: #a477d0;
$custom-dark: #000000;
JSON
{
  "hex": "#783dbb",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 268.095,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.18906,
    "h": 301.3
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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