#783D97#783D97

#783D97 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.5% C 0.149 H 312.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#783D97
RGBrgb(120, 61, 151)
HSLhsl(279, 42%, 42%)
HSVhsv(279, 60%, 59%)
CMYKcmyk(20.5%, 59.6%, 0%, 40.8%)
CIE-LABlab(37.05, 41.53, -39.15)
CIE-LCHlch(37.05, 57.07, 316.69°)
OKLaboklab(47.5% 0.1001 -0.1098)
OKLCHoklch(47.5% 0.149 312.3)
XYZxyz(14.9994, 9.5653, 30.3283)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783D97 #5C973D
analogous
#4B3D97 #783D97 #973D89
triadic
#783D97 #97783D #3D9778
tetradic
#783D97 #974B3D #5C973D #3D8997
square
#783D97 #974B3D #5C973D #3D8997
split-complementary
#783D97 #89973D #3D974B
monochromatic
#331A40 #552B6B #783D97 #9856BB #B382CC

Accessibility & contrast

On white

7.21
#783D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#783D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783D97
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783D97#FFFFFF#000000##FFFFFF
##783D971.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#375895
Tritanopia (blue-blind)
#754D64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783d97;
/* rgb */ color: rgb(120, 61, 151);
/* oklch */ color: oklch(47.5% 0.149 312.3);
Tailwind
colors: {
  custom: {
    50: '#a276b6',
    500: '#783d97',
    950: '#000000',
  },
}
SCSS
$custom: #783d97;
$custom-light: #a276b6;
$custom-dark: #000000;
JSON
{
  "hex": "#783d97",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 279.333,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.14864,
    "h": 312.3
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#783D97
secondary
#8EB779
accent
#D25681
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783D97

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

Preview Lab → · Contrast checker → · Palette generator →

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