#783F95#783F95

#783F95 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.7% C 0.143 H 312.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#783F95
RGBrgb(120, 63, 149)
HSLhsl(280, 41%, 42%)
HSVhsv(280, 58%, 58%)
CMYKcmyk(19.5%, 57.7%, 0%, 41.6%)
CIE-LABlab(37.33, 40.00, -37.49)
CIE-LCHlch(37.33, 54.82, 316.86°)
OKLaboklab(47.67% 0.0973 -0.105)
OKLCHoklch(47.67% 0.143 312.8)
XYZxyz(14.9471, 9.7184, 29.5164)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783F95 #5C953F
analogous
#4D3F95 #783F95 #953F87
triadic
#783F95 #95783F #3F9578
tetradic
#783F95 #954D3F #5C953F #3F8795
square
#783F95 #954D3F #5C953F #3F8795
split-complementary
#783F95 #87953F #3F954D
monochromatic
#331B3F #552D6A #783F95 #9859B9 #B384CB

Accessibility & contrast

On white

7.13
#783F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#783F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783F95
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783F95#FFFFFF#000000##FFFFFF
##783F951.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#3B5993
Tritanopia (blue-blind)
#754E64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783f95;
/* rgb */ color: rgb(120, 63, 149);
/* oklch */ color: oklch(47.7% 0.143 312.8);
Tailwind
colors: {
  custom: {
    50: '#a177b4',
    500: '#783f95',
    950: '#000000',
  },
}
SCSS
$custom: #783f95;
$custom-light: #a177b4;
$custom-dark: #000000;
JSON
{
  "hex": "#783f95",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 279.767,
    "s": 40.566,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.14319,
    "h": 312.8
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#783F95
secondary
#8EB57B
accent
#D05780
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783F95

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

Preview Lab → · Contrast checker → · Palette generator →

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