#783EA3#783EA3

#783EA3 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.4% C 0.161 H 308.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#783EA3
RGBrgb(120, 62, 163)
HSLhsl(274, 45%, 44%)
HSVhsv(274, 62%, 64%)
CMYKcmyk(26.4%, 62%, 0%, 36.1%)
CIE-LABlab(37.99, 43.81, -44.88)
CIE-LCHlch(37.99, 62.71, 314.31°)
OKLaboklab(48.43% 0.0988 -0.1266)
OKLCHoklch(48.43% 0.161 308)
XYZxyz(16.0779, 10.0829, 35.7424)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EA3 #69A33E
analogous
#453EA3 #783EA3 #A33E9C
triadic
#783EA3 #A3783E #3EA378
tetradic
#783EA3 #A3453E #69A33E #3E9CA3
square
#783EA3 #A3453E #69A33E #3E9CA3
split-complementary
#783EA3 #9CA33E #3EA345
monochromatic
#371C4A #572D77 #783EA3 #975DC1 #B389D2

Accessibility & contrast

On white

6.96
#783EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#783EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EA3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EA3#FFFFFF#000000##FFFFFF
##783EA31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A6
Deuteranopia (green-blind)
#2E5AA1
Tritanopia (blue-blind)
#71526A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ea3;
/* rgb */ color: rgb(120, 62, 163);
/* oklch */ color: oklch(48.4% 0.161 308.0);
Tailwind
colors: {
  custom: {
    50: '#a276bf',
    500: '#783ea3',
    950: '#000000',
  },
}
SCSS
$custom: #783ea3;
$custom-light: #a276bf;
$custom-dark: #000000;
JSON
{
  "hex": "#783ea3",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 274.455,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48427,
    "c": 0.16064,
    "h": 308
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#783EA3
secondary
#9ABD80
accent
#D5538A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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