#783C9F#783C9F

#783C9F is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.159 H 309.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#783C9F
RGBrgb(120, 60, 159)
HSLhsl(276, 45%, 43%)
HSVhsv(276, 62%, 62%)
CMYKcmyk(24.5%, 62.3%, 0%, 37.6%)
CIE-LABlab(37.35, 43.91, -43.50)
CIE-LCHlch(37.35, 61.81, 315.26°)
OKLaboklab(47.88% 0.1015 -0.1226)
OKLCHoklch(47.88% 0.159 309.6)
XYZxyz(15.6184, 9.7283, 33.8491)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783C9F #639F3C
analogous
#473C9F #783C9F #9F3C94
triadic
#783C9F #9F783C #3C9F78
tetradic
#783C9F #9F473C #639F3C #3C949F
square
#783C9F #9F473C #639F3C #3C949F
split-complementary
#783C9F #949F3C #3C9F47
monochromatic
#351A46 #562B73 #783C9F #9758C0 #B385D1

Accessibility & contrast

On white

7.13
#783C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783C9F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783C9F#FFFFFF#000000##FFFFFF
##783C9F1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1055A2
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#734F68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783c9f;
/* rgb */ color: rgb(120, 60, 159);
/* oklch */ color: oklch(47.9% 0.159 309.6);
Tailwind
colors: {
  custom: {
    50: '#a275bc',
    500: '#783c9f',
    950: '#000000',
  },
}
SCSS
$custom: #783c9f;
$custom-light: #a275bc;
$custom-dark: #000000;
JSON
{
  "hex": "#783c9f",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 276.364,
    "s": 45.205,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4788,
    "c": 0.15913,
    "h": 309.6
  },
  "luminance": 0.09728
}

Semantic roles & 50–950 ramp

primary
#783C9F
secondary
#95BB7C
accent
#D55386
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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