#783E96#783E96

#783E96 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.146 H 312.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#783E96
RGBrgb(120, 62, 150)
HSLhsl(280, 42%, 42%)
HSVhsv(280, 59%, 59%)
CMYKcmyk(20%, 58.7%, 0%, 41.2%)
CIE-LABlab(37.19, 40.77, -38.32)
CIE-LCHlch(37.19, 55.95, 316.77°)
OKLaboklab(47.59% 0.0988 -0.1074)
OKLCHoklch(47.59% 0.146 312.6)
XYZxyz(14.9724, 9.6407, 29.9204)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E96 #5C963E
analogous
#4C3E96 #783E96 #963E88
triadic
#783E96 #96783E #3E9678
tetradic
#783E96 #964C3E #5C963E #3E8896
square
#783E96 #964C3E #5C963E #3E8896
split-complementary
#783E96 #88963E #3E964C
monochromatic
#331A3F #552C6B #783E96 #9857BA #B383CC

Accessibility & contrast

On white

7.17
#783E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#783E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E96
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E96#FFFFFF#000000##FFFFFF
##783E961.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235499
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#754D64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783e96;
/* rgb */ color: rgb(120, 62, 150);
/* oklch */ color: oklch(47.6% 0.146 312.6);
Tailwind
colors: {
  custom: {
    50: '#a176b5',
    500: '#783e96',
    950: '#000000',
  },
}
SCSS
$custom: #783e96;
$custom-light: #a176b5;
$custom-dark: #000000;
JSON
{
  "hex": "#783e96",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 279.545,
    "s": 41.509,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.14593,
    "h": 312.6
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#783E96
secondary
#8EB67A
accent
#D15680
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783E96

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

Preview Lab → · Contrast checker → · Palette generator →

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