#783AC0#783AC0

#783AC0 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.198 H 300.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#783AC0
RGBrgb(120, 58, 192)
HSLhsl(268, 54%, 49%)
HSVhsv(268, 70%, 75%)
CMYKcmyk(37.5%, 69.8%, 0%, 24.7%)
CIE-LABlab(39.28, 52.88, -59.96)
CIE-LCHlch(39.28, 79.95, 311.41°)
OKLaboklab(50% 0.1006 -0.1709)
OKLCHoklch(50% 0.198 300.5)
XYZxyz(18.7709, 10.8248, 50.9594)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AC0 #82C03A
analogous
#3A3FC0 #783AC0 #BB3AC0
triadic
#783AC0 #C0783A #3AC078
tetradic
#783AC0 #C03A3F #82C03A #3AC0BB
square
#783AC0 #C03A3F #82C03A #3AC0BB
split-complementary
#783AC0 #C0BB3A #3FC03A
monochromatic
#3D1E62 #5B2C91 #783AC0 #9866D1 #B795DF

Accessibility & contrast

On white

6.64
#783AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#783AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AC0
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AC0#FFFFFF#000000##FFFFFF
##783AC01.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#685A79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783ac0;
/* rgb */ color: rgb(120, 58, 192);
/* oklch */ color: oklch(50.0% 0.198 300.5);
Tailwind
colors: {
  custom: {
    50: '#a575d4',
    500: '#783ac0',
    950: '#000000',
  },
}
SCSS
$custom: #783ac0;
$custom-light: #a575d4;
$custom-dark: #000000;
JSON
{
  "hex": "#783ac0",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 267.761,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.19835,
    "h": 300.5
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#783AC0
secondary
#ADCA8B
accent
#DD4B99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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