#783EA1#783EA1

#783EA1 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.158 H 308.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#783EA1
RGBrgb(120, 62, 161)
HSLhsl(275, 44%, 44%)
HSVhsv(275, 61%, 63%)
CMYKcmyk(25.5%, 61.5%, 0%, 36.9%)
CIE-LABlab(37.86, 43.33, -43.88)
CIE-LCHlch(37.86, 61.67, 314.64°)
OKLaboklab(48.29% 0.0989 -0.1237)
OKLCHoklch(48.29% 0.158 308.6)
XYZxyz(15.9001, 10.0118, 34.8062)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EA1 #67A13E
analogous
#463EA1 #783EA1 #A13E98
triadic
#783EA1 #A1783E #3EA178
tetradic
#783EA1 #A1463E #67A13E #3E98A1
square
#783EA1 #A1463E #67A13E #3E98A1
split-complementary
#783EA1 #98A13E #3EA146
monochromatic
#361C49 #572D75 #783EA1 #975CC0 #B388D1

Accessibility & contrast

On white

6.99
#783EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783EA1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EA1#FFFFFF#000000##FFFFFF
##783EA11.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A4
Deuteranopia (green-blind)
#305A9F
Tritanopia (blue-blind)
#725169
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ea1;
/* rgb */ color: rgb(120, 62, 161);
/* oklch */ color: oklch(48.3% 0.158 308.6);
Tailwind
colors: {
  custom: {
    50: '#a276bd',
    500: '#783ea1',
    950: '#000000',
  },
}
SCSS
$custom: #783ea1;
$custom-light: #a276bd;
$custom-dark: #000000;
JSON
{
  "hex": "#783ea1",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 275.152,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48293,
    "c": 0.15837,
    "h": 308.6
  },
  "luminance": 0.10012
}

Semantic roles & 50–950 ramp

primary
#783EA1
secondary
#98BC7F
accent
#D45489
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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