#783FB1#783FB1

#783FB1 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.175 H 303.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#783FB1
RGBrgb(120, 63, 177)
HSLhsl(270, 48%, 47%)
HSVhsv(270, 64%, 69%)
CMYKcmyk(32.2%, 64.4%, 0%, 30.6%)
CIE-LABlab(39.11, 46.68, -51.42)
CIE-LCHlch(39.11, 69.45, 312.23°)
OKLaboklab(49.53% 0.0969 -0.1458)
OKLCHoklch(49.53% 0.175 303.6)
XYZxyz(17.4572, 10.7224, 42.7364)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB1 #78B13F
analogous
#3F3FB1 #783FB1 #B13FB1
triadic
#783FB1 #B1783F #3FB178
tetradic
#783FB1 #B13F3F #78B13F #3FB1B1
square
#783FB1 #B13F3F #78B13F #3FB1B1
split-complementary
#783FB1 #B1B13F #3FB13F
monochromatic
#3B1F57 #592F84 #783FB1 #9765C8 #B592D8

Accessibility & contrast

On white

6.68
#783FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#783FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FB1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB1#FFFFFF#000000##FFFFFF
##783FB11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#1C5CAE
Tritanopia (blue-blind)
#6D5772
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783fb1;
/* rgb */ color: rgb(120, 63, 177);
/* oklch */ color: oklch(49.5% 0.175 303.6);
Tailwind
colors: {
  custom: {
    50: '#a377c9',
    500: '#783fb1',
    950: '#000000',
  },
}
SCSS
$custom: #783fb1;
$custom-light: #a377c9;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb1",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 270,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49533,
    "c": 0.17511,
    "h": 303.6
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#783FB1
secondary
#A6C488
accent
#D75194
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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