#783CBE#783CBE

#783CBE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.194 H 300.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#783CBE
RGBrgb(120, 60, 190)
HSLhsl(268, 52%, 49%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(36.8%, 68.4%, 0%, 25.5%)
CIE-LABlab(39.48, 51.41, -58.47)
CIE-LCHlch(39.48, 77.86, 311.33°)
OKLaboklab(50.09% 0.0988 -0.1666)
OKLCHoklch(50.09% 0.194 300.7)
XYZxyz(18.6536, 10.9424, 49.8346)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CBE #82BE3C
analogous
#3C41BE #783CBE #B93CBE
triadic
#783CBE #BE783C #3CBE78
tetradic
#783CBE #BE3C41 #82BE3C #3CBEB9
square
#783CBE #BE3C41 #82BE3C #3CBEB9
split-complementary
#783CBE #BEB93C #41BE3C
monochromatic
#3D1F61 #5B2D8F #783CBE #9868CF #B796DE

Accessibility & contrast

On white

6.59
#783CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#783CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CBE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CBE#FFFFFF#000000##FFFFFF
##783CBE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#695A78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783cbe;
/* rgb */ color: rgb(120, 60, 190);
/* oklch */ color: oklch(50.1% 0.194 300.7);
Tailwind
colors: {
  custom: {
    50: '#a476d2',
    500: '#783cbe',
    950: '#000000',
  },
}
SCSS
$custom: #783cbe;
$custom-light: #a476d2;
$custom-dark: #000000;
JSON
{
  "hex": "#783cbe",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 267.692,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.19367,
    "h": 300.7
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#783CBE
secondary
#ADCA8C
accent
#DB4C99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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