#783E99#783E99

#783E99 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.8% C 0.149 H 311.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#783E99
RGBrgb(120, 62, 153)
HSLhsl(278, 42%, 42%)
HSVhsv(278, 59%, 60%)
CMYKcmyk(21.6%, 59.5%, 0%, 40%)
CIE-LABlab(37.37, 41.46, -39.85)
CIE-LCHlch(37.37, 57.51, 316.13°)
OKLaboklab(47.77% 0.0988 -0.1119)
OKLCHoklch(47.77% 0.149 311.4)
XYZxyz(15.2171, 9.7386, 31.2089)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E99 #5F993E
analogous
#4B3E99 #783E99 #993E8D
triadic
#783E99 #99783E #3E9978
tetradic
#783E99 #994B3E #5F993E #3E8D99
square
#783E99 #994B3E #5F993E #3E8D99
split-complementary
#783E99 #8D993E #3E994B
monochromatic
#341B42 #562C6D #783E99 #9859BC #B384CD

Accessibility & contrast

On white

7.12
#783E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#783E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E99
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E99#FFFFFF#000000##FFFFFF
##783E991.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#375997
Tritanopia (blue-blind)
#744E65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783e99;
/* rgb */ color: rgb(120, 62, 153);
/* oklch */ color: oklch(47.8% 0.149 311.4);
Tailwind
colors: {
  custom: {
    50: '#a276b7',
    500: '#783e99',
    950: '#000000',
  },
}
SCSS
$custom: #783e99;
$custom-light: #a276b7;
$custom-dark: #000000;
JSON
{
  "hex": "#783e99",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 278.242,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.14932,
    "h": 311.4
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#783E99
secondary
#91B87B
accent
#D25683
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #783E99

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

Preview Lab → · Contrast checker → · Palette generator →

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