#783CAF#783CAF

#783CAF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.177 H 304.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#783CAF
RGBrgb(120, 60, 175)
HSLhsl(271, 49%, 46%)
HSVhsv(271, 66%, 69%)
CMYKcmyk(31.4%, 65.7%, 0%, 31.4%)
CIE-LABlab(38.41, 47.72, -51.36)
CIE-LCHlch(38.41, 70.11, 312.90°)
OKLaboklab(48.99% 0.1006 -0.1457)
OKLCHoklch(48.99% 0.177 304.6)
XYZxyz(17.0977, 10.3200, 41.6403)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CAF #73AF3C
analogous
#3E3CAF #783CAF #AF3CAC
triadic
#783CAF #AF783C #3CAF78
tetradic
#783CAF #AF3E3C #73AF3C #3CACAF
square
#783CAF #AF3E3C #73AF3C #3CACAF
split-complementary
#783CAF #ACAF3C #3CAF3E
monochromatic
#391D54 #592C81 #783CAF #9660C8 #B48DD8

Accessibility & contrast

On white

6.85
#783CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#783CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CAF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CAF#FFFFFF#000000##FFFFFF
##783CAF1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#6E5570
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783caf;
/* rgb */ color: rgb(120, 60, 175);
/* oklch */ color: oklch(49.0% 0.177 304.6);
Tailwind
colors: {
  custom: {
    50: '#a376c8',
    500: '#783caf',
    950: '#000000',
  },
}
SCSS
$custom: #783caf;
$custom-light: #a376c8;
$custom-dark: #000000;
JSON
{
  "hex": "#783caf",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 271.304,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48985,
    "c": 0.17701,
    "h": 304.6
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#783CAF
secondary
#A2C384
accent
#D84F91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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