#783C97#783C97

#783C97 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.150 H 312.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#783C97
RGBrgb(120, 60, 151)
HSLhsl(280, 43%, 41%)
HSVhsv(280, 60%, 59%)
CMYKcmyk(20.5%, 60.3%, 0%, 40.8%)
CIE-LABlab(36.85, 42.06, -39.46)
CIE-LCHlch(36.85, 57.67, 316.83°)
OKLaboklab(47.36% 0.1015 -0.1108)
OKLCHoklch(47.36% 0.15 312.5)
XYZxyz(14.9465, 9.4595, 30.3107)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783C97 #5B973C
analogous
#4B3C97 #783C97 #973C89
triadic
#783C97 #97783C #3C9778
tetradic
#783C97 #974B3C #5B973C #3C8997
square
#783C97 #974B3C #5B973C #3C8997
split-complementary
#783C97 #89973C #3C974B
monochromatic
#32193F #552B6B #783C97 #9855BB #B381CD

Accessibility & contrast

On white

7.26
#783C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#783C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783C97
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783C97#FFFFFF#000000##FFFFFF
##783C971.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#365895
Tritanopia (blue-blind)
#754C64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783c97;
/* rgb */ color: rgb(120, 60, 151);
/* oklch */ color: oklch(47.4% 0.150 312.5);
Tailwind
colors: {
  custom: {
    50: '#a275b6',
    500: '#783c97',
    950: '#000000',
  },
}
SCSS
$custom: #783c97;
$custom-light: #a275b6;
$custom-dark: #000000;
JSON
{
  "hex": "#783c97",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 279.56,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.15021,
    "h": 312.5
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#783C97
secondary
#8DB778
accent
#D35580
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783C97

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

Preview Lab → · Contrast checker → · Palette generator →

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