#783EA2#783EA2

#783EA2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.160 H 308.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#783EA2
RGBrgb(120, 62, 162)
HSLhsl(275, 45%, 44%)
HSVhsv(275, 62%, 64%)
CMYKcmyk(25.9%, 61.7%, 0%, 36.5%)
CIE-LABlab(37.93, 43.57, -44.38)
CIE-LCHlch(37.93, 62.19, 314.47°)
OKLaboklab(48.36% 0.0988 -0.1252)
OKLCHoklch(48.36% 0.16 308.3)
XYZxyz(15.9886, 10.0472, 35.2724)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EA2 #68A23E
analogous
#463EA2 #783EA2 #A23E9A
triadic
#783EA2 #A2783E #3EA278
tetradic
#783EA2 #A2463E #68A23E #3E9AA2
square
#783EA2 #A2463E #68A23E #3E9AA2
split-complementary
#783EA2 #9AA23E #3EA246
monochromatic
#361C49 #572D76 #783EA2 #975CC1 #B389D2

Accessibility & contrast

On white

6.98
#783EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#783EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EA2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EA2#FFFFFF#000000##FFFFFF
##783EA21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1057A5
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#72526A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ea2;
/* rgb */ color: rgb(120, 62, 162);
/* oklch */ color: oklch(48.4% 0.160 308.3);
Tailwind
colors: {
  custom: {
    50: '#a276be',
    500: '#783ea2',
    950: '#000000',
  },
}
SCSS
$custom: #783ea2;
$custom-light: #a276be;
$custom-dark: #000000;
JSON
{
  "hex": "#783ea2",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 274.8,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.1595,
    "h": 308.3
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#783EA2
secondary
#99BC80
accent
#D4538A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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