#783AC3#783AC3

#783AC3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.202 H 299.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#783AC3
RGBrgb(120, 58, 195)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 76%)
CMYKcmyk(38.5%, 70.3%, 0%, 23.5%)
CIE-LABlab(39.51, 53.63, -61.35)
CIE-LCHlch(39.51, 81.48, 311.16°)
OKLaboklab(50.23% 0.1001 -0.175)
OKLCHoklch(50.23% 0.202 299.8)
XYZxyz(19.1067, 10.9591, 52.7279)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AC3 #85C33A
analogous
#3A41C3 #783AC3 #BC3AC3
triadic
#783AC3 #C3783A #3AC378
tetradic
#783AC3 #C33A41 #85C33A #3AC3BC
square
#783AC3 #C33A41 #85C33A #3AC3BC
split-complementary
#783AC3 #C3BC3A #41C33A
monochromatic
#3E1E65 #5B2C94 #783AC3 #9868D2 #B897E0

Accessibility & contrast

On white

6.58
#783AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783AC3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AC3#FFFFFF#000000##FFFFFF
##783AC31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#675B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783ac3;
/* rgb */ color: rgb(120, 58, 195);
/* oklch */ color: oklch(50.2% 0.202 299.8);
Tailwind
colors: {
  custom: {
    50: '#a575d6',
    500: '#783ac3',
    950: '#000000',
  },
}
SCSS
$custom: #783ac3;
$custom-light: #a575d6;
$custom-dark: #000000;
JSON
{
  "hex": "#783ac3",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 267.153,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.20161,
    "h": 299.8
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#783AC3
secondary
#AFCC8D
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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