#783DAF#783DAF

#783DAF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.176 H 304.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#783DAF
RGBrgb(120, 61, 175)
HSLhsl(271, 48%, 46%)
HSVhsv(271, 65%, 69%)
CMYKcmyk(31.4%, 65.1%, 0%, 31.4%)
CIE-LABlab(38.60, 47.21, -51.06)
CIE-LCHlch(38.60, 69.54, 312.76°)
OKLaboklab(49.12% 0.0994 -0.1448)
OKLCHoklch(49.12% 0.176 304.5)
XYZxyz(17.1506, 10.4258, 41.6580)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DAF #74AF3D
analogous
#3F3DAF #783DAF #AF3DAD
triadic
#783DAF #AF783D #3DAF78
tetradic
#783DAF #AF3F3D #74AF3D #3DADAF
square
#783DAF #AF3F3D #74AF3D #3DADAF
split-complementary
#783DAF #ADAF3D #3DAF3F
monochromatic
#3A1D54 #592D82 #783DAF #9661C8 #B48FD8

Accessibility & contrast

On white

6.81
#783DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#783DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DAF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DAF#FFFFFF#000000##FFFFFF
##783DAF1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#1C5BAC
Tritanopia (blue-blind)
#6E5670
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783daf;
/* rgb */ color: rgb(120, 61, 175);
/* oklch */ color: oklch(49.1% 0.176 304.5);
Tailwind
colors: {
  custom: {
    50: '#a376c8',
    500: '#783daf',
    950: '#000000',
  },
}
SCSS
$custom: #783daf;
$custom-light: #a376c8;
$custom-dark: #000000;
JSON
{
  "hex": "#783daf",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 271.053,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.17563,
    "h": 304.5
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#783DAF
secondary
#A3C385
accent
#D85092
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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