#783FB8#783FB8

#783FB8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.183 H 301.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#783FB8
RGBrgb(120, 63, 184)
HSLhsl(268, 49%, 48%)
HSVhsv(268, 66%, 72%)
CMYKcmyk(34.8%, 65.8%, 0%, 27.8%)
CIE-LABlab(39.60, 48.41, -54.76)
CIE-LCHlch(39.60, 73.10, 311.48°)
OKLaboklab(50.04% 0.0963 -0.1557)
OKLCHoklch(50.04% 0.183 301.7)
XYZxyz(18.1729, 11.0087, 46.5056)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB8 #7FB83F
analogous
#3F43B8 #783FB8 #B43FB8
triadic
#783FB8 #B8783F #3FB878
tetradic
#783FB8 #B83F43 #7FB83F #3FB8B4
square
#783FB8 #B83F43 #7FB83F #3FB8B4
split-complementary
#783FB8 #B8B43F #43B83F
monochromatic
#3D205D #5A2F8A #783FB8 #9769CC #B796DB

Accessibility & contrast

On white

6.56
#783FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783FB8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB8#FFFFFF#000000##FFFFFF
##783FB81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#085DB5
Tritanopia (blue-blind)
#6B5A76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783fb8;
/* rgb */ color: rgb(120, 63, 184);
/* oklch */ color: oklch(50.0% 0.183 301.7);
Tailwind
colors: {
  custom: {
    50: '#a478ce',
    500: '#783fb8',
    950: '#000000',
  },
}
SCSS
$custom: #783fb8;
$custom-light: #a478ce;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb8",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 268.264,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.18305,
    "h": 301.7
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#783FB8
secondary
#ABC78C
accent
#D94F98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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