#783BA2#783BA2

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

Color values

HEX#783BA2
RGBrgb(120, 59, 162)
HSLhsl(276, 47%, 43%)
HSVhsv(276, 64%, 64%)
CMYKcmyk(25.9%, 63.6%, 0%, 36.5%)
CIE-LABlab(37.35, 45.13, -45.30)
CIE-LCHlch(37.35, 63.94, 314.89°)
OKLaboklab(47.94% 0.1026 -0.1279)
OKLCHoklch(47.94% 0.164 308.7)
XYZxyz(15.8300, 9.7299, 35.2195)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BA2 #65A23B
analogous
#443BA2 #783BA2 #A23B98
triadic
#783BA2 #A2783B #3BA278
tetradic
#783BA2 #A2443B #65A23B #3B98A2
square
#783BA2 #A2443B #65A23B #3B98A2
split-complementary
#783BA2 #98A23B #3BA244
monochromatic
#361A48 #572B75 #783BA2 #9758C2 #B385D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##783BA2#FFFFFF#000000##FFFFFF
##783BA21.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)
#0255A5
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#725069
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783ba2;
/* rgb */ color: rgb(120, 59, 162);
/* oklch */ color: oklch(47.9% 0.164 308.7);
Tailwind
colors: {
  custom: {
    50: '#a275be',
    500: '#783ba2',
    950: '#000000',
  },
}
SCSS
$custom: #783ba2;
$custom-light: #a275be;
$custom-dark: #000000;
JSON
{
  "hex": "#783ba2",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 275.534,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.16396,
    "h": 308.7
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#783BA2
secondary
#96BD7C
accent
#D65288
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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