#783AC1#783AC1

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

Color values

HEX#783AC1
RGBrgb(120, 58, 193)
HSLhsl(268, 54%, 49%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(37.8%, 69.9%, 0%, 24.3%)
CIE-LABlab(39.36, 53.13, -60.43)
CIE-LCHlch(39.36, 80.46, 311.32°)
OKLaboklab(50.08% 0.1004 -0.1723)
OKLCHoklch(50.08% 0.199 300.2)
XYZxyz(18.8820, 10.8693, 51.5449)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AC1 #83C13A
analogous
#3A3FC1 #783AC1 #BC3AC1
triadic
#783AC1 #C1783A #3AC178
tetradic
#783AC1 #C13A3F #83C13A #3AC1BC
square
#783AC1 #C13A3F #83C13A #3AC1BC
split-complementary
#783AC1 #C1BC3A #3FC13A
monochromatic
#3D1E63 #5B2C92 #783AC1 #9867D1 #B896DF

Accessibility & contrast

On white

6.62
#783AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783AC1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AC1#FFFFFF#000000##FFFFFF
##783AC11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783ac1;
/* rgb */ color: rgb(120, 58, 193);
/* oklch */ color: oklch(50.1% 0.199 300.2);
Tailwind
colors: {
  custom: {
    50: '#a575d5',
    500: '#783ac1',
    950: '#000000',
  },
}
SCSS
$custom: #783ac1;
$custom-light: #a575d5;
$custom-dark: #000000;
JSON
{
  "hex": "#783ac1",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 267.556,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.19943,
    "h": 300.2
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#783AC1
secondary
#AECB8C
accent
#DD4B9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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