#783E9D#783E9D

#783E9D is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.154 H 310.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#783E9D
RGBrgb(120, 62, 157)
HSLhsl(277, 43%, 43%)
HSVhsv(277, 61%, 62%)
CMYKcmyk(23.6%, 60.5%, 0%, 38.4%)
CIE-LABlab(37.61, 42.39, -41.88)
CIE-LCHlch(37.61, 59.59, 315.35°)
OKLaboklab(48.03% 0.0989 -0.1178)
OKLCHoklch(48.03% 0.154 310)
XYZxyz(15.5530, 9.8729, 32.9781)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E9D #639D3E
analogous
#493E9D #783E9D #9D3E92
triadic
#783E9D #9D783E #3E9D78
tetradic
#783E9D #9D493E #639D3E #3E929D
square
#783E9D #9D493E #639D3E #3E929D
split-complementary
#783E9D #929D3E #3E9D49
monochromatic
#351B45 #562D71 #783E9D #975ABE #B386CF

Accessibility & contrast

On white

7.06
#783E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#783E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E9D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E9D#FFFFFF#000000##FFFFFF
##783E9D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#33599B
Tritanopia (blue-blind)
#735067
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783e9d;
/* rgb */ color: rgb(120, 62, 157);
/* oklch */ color: oklch(48.0% 0.154 310.0);
Tailwind
colors: {
  custom: {
    50: '#a276ba',
    500: '#783e9d',
    950: '#000000',
  },
}
SCSS
$custom: #783e9d;
$custom-light: #a276ba;
$custom-dark: #000000;
JSON
{
  "hex": "#783e9d",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 276.632,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.15384,
    "h": 310
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#783E9D
secondary
#95BA7D
accent
#D35586
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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