#783E9F#783E9F

#783E9F is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.156 H 309.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#783E9F
RGBrgb(120, 62, 159)
HSLhsl(276, 44%, 43%)
HSVhsv(276, 61%, 62%)
CMYKcmyk(24.5%, 61%, 0%, 37.6%)
CIE-LABlab(37.74, 42.86, -42.88)
CIE-LCHlch(37.74, 60.63, 314.98°)
OKLaboklab(48.16% 0.0989 -0.1208)
OKLCHoklch(48.16% 0.156 309.3)
XYZxyz(15.7251, 9.9418, 33.8847)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E9F #659F3E
analogous
#473E9F #783E9F #9F3E95
triadic
#783E9F #9F783E #3E9F78
tetradic
#783E9F #9F473E #659F3E #3E959F
square
#783E9F #9F473E #659F3E #3E959F
split-complementary
#783E9F #959F3E #3E9F47
monochromatic
#361C47 #572D73 #783E9F #975BBF #B387D0

Accessibility & contrast

On white

7.03
#783E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#783E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E9F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E9F#FFFFFF#000000##FFFFFF
##783E9F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#325A9D
Tritanopia (blue-blind)
#735168
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783e9f;
/* rgb */ color: rgb(120, 62, 159);
/* oklch */ color: oklch(48.2% 0.156 309.3);
Tailwind
colors: {
  custom: {
    50: '#a276bc',
    500: '#783e9f',
    950: '#000000',
  },
}
SCSS
$custom: #783e9f;
$custom-light: #a276bc;
$custom-dark: #000000;
JSON
{
  "hex": "#783e9f",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 275.876,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48161,
    "c": 0.15611,
    "h": 309.3
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#783E9F
secondary
#96BB7E
accent
#D45487
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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