#783FBB#783FBB

#783FBB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.186 H 301.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#783FBB
RGBrgb(120, 63, 187)
HSLhsl(268, 50%, 49%)
HSVhsv(268, 66%, 73%)
CMYKcmyk(35.8%, 66.3%, 0%, 26.7%)
CIE-LABlab(39.81, 49.16, -56.18)
CIE-LCHlch(39.81, 74.66, 311.19°)
OKLaboklab(50.26% 0.096 -0.1598)
OKLCHoklch(50.26% 0.186 301)
XYZxyz(18.4907, 11.1358, 48.1793)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FBB #82BB3F
analogous
#3F44BB #783FBB #B63FBB
triadic
#783FBB #BB783F #3FBB78
tetradic
#783FBB #BB3F44 #82BB3F #3FBBB6
square
#783FBB #BB3F44 #82BB3F #3FBBB6
split-complementary
#783FBB #BBB63F #44BB3F
monochromatic
#3D205F #5B308D #783FBB #986ACD #B798DC

Accessibility & contrast

On white

6.51
#783FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#783FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FBB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FBB#FFFFFF#000000##FFFFFF
##783FBB1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783fbb;
/* rgb */ color: rgb(120, 63, 187);
/* oklch */ color: oklch(50.3% 0.186 301.0);
Tailwind
colors: {
  custom: {
    50: '#a478d0',
    500: '#783fbb',
    950: '#000000',
  },
}
SCSS
$custom: #783fbb;
$custom-light: #a478d0;
$custom-dark: #000000;
JSON
{
  "hex": "#783fbb",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 267.581,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.18645,
    "h": 301
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#783FBB
secondary
#ADC88E
accent
#D94F99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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