#783FB3#783FB3

#783FB3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.177 H 303.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#783FB3
RGBrgb(120, 63, 179)
HSLhsl(269, 48%, 47%)
HSVhsv(269, 65%, 70%)
CMYKcmyk(33%, 64.8%, 0%, 29.8%)
CIE-LABlab(39.25, 47.17, -52.38)
CIE-LCHlch(39.25, 70.49, 312.00°)
OKLaboklab(49.68% 0.0968 -0.1487)
OKLCHoklch(49.68% 0.177 303.1)
XYZxyz(17.6580, 10.8028, 43.7940)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB3 #7AB33F
analogous
#3F40B3 #783FB3 #B23FB3
triadic
#783FB3 #B3783F #3FB378
tetradic
#783FB3 #B33F40 #7AB33F #3FB3B2
square
#783FB3 #B33F40 #7AB33F #3FB3B2
split-complementary
#783FB3 #B3B23F #40B33F
monochromatic
#3B1F58 #5A2F86 #783FB3 #9766C9 #B693D9

Accessibility & contrast

On white

6.64
#783FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#783FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FB3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB3#FFFFFF#000000##FFFFFF
##783FB31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#6C5873
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783fb3;
/* rgb */ color: rgb(120, 63, 179);
/* oklch */ color: oklch(49.7% 0.177 303.1);
Tailwind
colors: {
  custom: {
    50: '#a377ca',
    500: '#783fb3',
    950: '#000000',
  },
}
SCSS
$custom: #783fb3;
$custom-light: #a377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb3",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 269.483,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.17738,
    "h": 303.1
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#783FB3
secondary
#A7C489
accent
#D85095
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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