#783FBE#783FBE

#783FBE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.190 H 300.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#783FBE
RGBrgb(120, 63, 190)
HSLhsl(267, 50%, 50%)
HSVhsv(267, 67%, 75%)
CMYKcmyk(36.8%, 66.8%, 0%, 25.5%)
CIE-LABlab(40.02, 49.92, -57.59)
CIE-LCHlch(40.02, 76.21, 310.92°)
OKLaboklab(50.48% 0.0956 -0.164)
OKLCHoklch(50.48% 0.19 300.2)
XYZxyz(18.8152, 11.2656, 49.8884)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FBE #85BE3F
analogous
#3F46BE #783FBE #B83FBE
triadic
#783FBE #BE783F #3FBE78
tetradic
#783FBE #BE3F46 #85BE3F #3FBEB8
square
#783FBE #BE3F46 #85BE3F #3FBEB8
split-complementary
#783FBE #BEB83F #46BE3F
monochromatic
#3E2162 #5B3090 #783FBE #986CCE #B89ADD

Accessibility & contrast

On white

6.46
#783FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#783FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FBE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FBE#FFFFFF#000000##FFFFFF
##783FBE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#695C79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783fbe;
/* rgb */ color: rgb(120, 63, 190);
/* oklch */ color: oklch(50.5% 0.190 300.2);
Tailwind
colors: {
  custom: {
    50: '#a478d2',
    500: '#783fbe',
    950: '#000000',
  },
}
SCSS
$custom: #783fbe;
$custom-light: #a478d2;
$custom-dark: #000000;
JSON
{
  "hex": "#783fbe",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 266.929,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.18983,
    "h": 300.2
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#783FBE
secondary
#AFC98F
accent
#DA4E9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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