#783DA1#783DA1

#783DA1 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.160 H 308.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#783DA1
RGBrgb(120, 61, 161)
HSLhsl(275, 45%, 44%)
HSVhsv(275, 62%, 63%)
CMYKcmyk(25.5%, 62.1%, 0%, 36.9%)
CIE-LABlab(37.67, 43.86, -44.19)
CIE-LCHlch(37.67, 62.26, 314.78°)
OKLaboklab(48.15% 0.1001 -0.1246)
OKLCHoklch(48.15% 0.16 308.8)
XYZxyz(15.8462, 9.9040, 34.7882)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DA1 #66A13D
analogous
#463DA1 #783DA1 #A13D98
triadic
#783DA1 #A1783D #3DA178
tetradic
#783DA1 #A1463D #66A13D #3D98A1
square
#783DA1 #A1463D #66A13D #3D98A1
split-complementary
#783DA1 #98A13D #3DA146
monochromatic
#361B48 #572C75 #783DA1 #975BC1 #B387D1

Accessibility & contrast

On white

7.05
#783DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#783DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783DA1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DA1#FFFFFF#000000##FFFFFF
##783DA11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#2F599F
Tritanopia (blue-blind)
#725169
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783da1;
/* rgb */ color: rgb(120, 61, 161);
/* oklch */ color: oklch(48.2% 0.160 308.8);
Tailwind
colors: {
  custom: {
    50: '#a276bd',
    500: '#783da1',
    950: '#000000',
  },
}
SCSS
$custom: #783da1;
$custom-light: #a276bd;
$custom-dark: #000000;
JSON
{
  "hex": "#783da1",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 275.4,
    "s": 45.045,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.15988,
    "h": 308.8
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#783DA1
secondary
#97BC7E
accent
#D55388
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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