#783EA5#783EA5

#783EA5 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.163 H 307.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#783EA5
RGBrgb(120, 62, 165)
HSLhsl(274, 45%, 45%)
HSVhsv(274, 62%, 65%)
CMYKcmyk(27.3%, 62.4%, 0%, 35.3%)
CIE-LABlab(38.12, 44.28, -45.87)
CIE-LCHlch(38.12, 63.76, 313.99°)
OKLaboklab(48.56% 0.0988 -0.1295)
OKLCHoklch(48.56% 0.163 307.3)
XYZxyz(16.2585, 10.1551, 36.6936)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EA5 #6BA53E
analogous
#453EA5 #783EA5 #A53E9F
triadic
#783EA5 #A5783E #3EA578
tetradic
#783EA5 #A5453E #6BA53E #3E9FA5
square
#783EA5 #A5453E #6BA53E #3E9FA5
split-complementary
#783EA5 #9FA53E #3EA545
monochromatic
#371D4C #582D79 #783EA5 #965EC2 #B38AD3

Accessibility & contrast

On white

6.93
#783EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#783EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EA5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EA5#FFFFFF#000000##FFFFFF
##783EA51.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0758A8
Deuteranopia (green-blind)
#2C5AA3
Tritanopia (blue-blind)
#71536C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783ea5;
/* rgb */ color: rgb(120, 62, 165);
/* oklch */ color: oklch(48.6% 0.163 307.3);
Tailwind
colors: {
  custom: {
    50: '#a276c0',
    500: '#783ea5',
    950: '#000000',
  },
}
SCSS
$custom: #783ea5;
$custom-light: #a276c0;
$custom-dark: #000000;
JSON
{
  "hex": "#783ea5",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 273.786,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.16291,
    "h": 307.3
  },
  "luminance": 0.10155
}

Semantic roles & 50–950 ramp

primary
#783EA5
secondary
#9CBE81
accent
#D5538C
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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