#783EA0#783EA0

#783EA0 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.2% C 0.157 H 309.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#783EA0
RGBrgb(120, 62, 160)
HSLhsl(276, 44%, 44%)
HSVhsv(276, 61%, 63%)
CMYKcmyk(25%, 61.2%, 0%, 37.3%)
CIE-LABlab(37.80, 43.10, -43.38)
CIE-LCHlch(37.80, 61.15, 314.81°)
OKLaboklab(48.23% 0.0989 -0.1222)
OKLCHoklch(48.23% 0.157 309)
XYZxyz(15.8123, 9.9766, 34.3436)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EA0 #66A03E
analogous
#473EA0 #783EA0 #A03E97
triadic
#783EA0 #A0783E #3EA078
tetradic
#783EA0 #A0473E #66A03E #3E97A0
square
#783EA0 #A0473E #66A03E #3E97A0
split-complementary
#783EA0 #97A03E #3EA047
monochromatic
#361C48 #572D74 #783EA0 #975CC0 #B388D1

Accessibility & contrast

On white

7.01
#783EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#783EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EA0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EA0#FFFFFF#000000##FFFFFF
##783EA01.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A3
Deuteranopia (green-blind)
#315A9E
Tritanopia (blue-blind)
#725169
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ea0;
/* rgb */ color: rgb(120, 62, 160);
/* oklch */ color: oklch(48.2% 0.157 309.0);
Tailwind
colors: {
  custom: {
    50: '#a276bd',
    500: '#783ea0',
    950: '#000000',
  },
}
SCSS
$custom: #783ea0;
$custom-light: #a276bd;
$custom-dark: #000000;
JSON
{
  "hex": "#783ea0",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 275.51,
    "s": 44.144,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48227,
    "c": 0.15723,
    "h": 309
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#783EA0
secondary
#97BB7F
accent
#D45488
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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