#783DBE#783DBE

#783DBE is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.192 H 300.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#783DBE
RGBrgb(120, 61, 190)
HSLhsl(267, 51%, 49%)
HSVhsv(267, 68%, 75%)
CMYKcmyk(36.8%, 67.9%, 0%, 25.5%)
CIE-LABlab(39.66, 50.92, -58.18)
CIE-LCHlch(39.66, 77.32, 311.19°)
OKLaboklab(50.22% 0.0978 -0.1657)
OKLCHoklch(50.22% 0.192 300.5)
XYZxyz(18.7065, 11.0481, 49.8522)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DBE #83BE3D
analogous
#3D43BE #783DBE #B93DBE
triadic
#783DBE #BE783D #3DBE78
tetradic
#783DBE #BE3D43 #83BE3D #3DBEB9
square
#783DBE #BE3D43 #83BE3D #3DBEB9
split-complementary
#783DBE #BEB93D #43BE3D
monochromatic
#3D1F61 #5B2E90 #783DBE #9869CF #B898DE

Accessibility & contrast

On white

6.54
#783DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783DBE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DBE#FFFFFF#000000##FFFFFF
##783DBE1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#695B79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783dbe;
/* rgb */ color: rgb(120, 61, 190);
/* oklch */ color: oklch(50.2% 0.192 300.5);
Tailwind
colors: {
  custom: {
    50: '#a477d2',
    500: '#783dbe',
    950: '#000000',
  },
}
SCSS
$custom: #783dbe;
$custom-light: #a477d2;
$custom-dark: #000000;
JSON
{
  "hex": "#783dbe",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 267.442,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.1924,
    "h": 300.5
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#783DBE
secondary
#AEC98D
accent
#DB4D9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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