#783FAB#783FAB

#783FAB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.168 H 305.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#783FAB
RGBrgb(120, 63, 171)
HSLhsl(272, 46%, 46%)
HSVhsv(272, 63%, 67%)
CMYKcmyk(29.8%, 63.2%, 0%, 32.9%)
CIE-LABlab(38.71, 45.21, -48.51)
CIE-LCHlch(38.71, 66.31, 312.98°)
OKLaboklab(49.11% 0.0973 -0.1373)
OKLCHoklch(49.11% 0.168 305.3)
XYZxyz(16.8723, 10.4885, 39.6558)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FAB #72AB3F
analogous
#423FAB #783FAB #AB3FA8
triadic
#783FAB #AB783F #3FAB78
tetradic
#783FAB #AB423F #72AB3F #3FA8AB
square
#783FAB #AB423F #72AB3F #3FA8AB
split-complementary
#783FAB #A8AB3F #3FAB42
monochromatic
#391E52 #592F7E #783FAB #9662C5 #B48FD6

Accessibility & contrast

On white

6.78
#783FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#783FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FAB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FAB#FFFFFF#000000##FFFFFF
##783FAB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#255BA9
Tritanopia (blue-blind)
#6F556F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783fab;
/* rgb */ color: rgb(120, 63, 171);
/* oklch */ color: oklch(49.1% 0.168 305.3);
Tailwind
colors: {
  custom: {
    50: '#a377c5',
    500: '#783fab',
    950: '#000000',
  },
}
SCSS
$custom: #783fab;
$custom-light: #a377c5;
$custom-dark: #000000;
JSON
{
  "hex": "#783fab",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 271.667,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.16827,
    "h": 305.3
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#783FAB
secondary
#A1C185
accent
#D65290
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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