#783FB7#783FB7

#783FB7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.182 H 302.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#783FB7
RGBrgb(120, 63, 183)
HSLhsl(269, 49%, 48%)
HSVhsv(269, 66%, 72%)
CMYKcmyk(34.4%, 65.6%, 0%, 28.2%)
CIE-LABlab(39.52, 48.17, -54.29)
CIE-LCHlch(39.52, 72.58, 311.58°)
OKLaboklab(49.96% 0.0964 -0.1543)
OKLCHoklch(49.96% 0.182 302)
XYZxyz(18.0685, 10.9669, 45.9555)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB7 #7EB73F
analogous
#3F42B7 #783FB7 #B43FB7
triadic
#783FB7 #B7783F #3FB778
tetradic
#783FB7 #B73F42 #7EB73F #3FB7B4
square
#783FB7 #B73F42 #7EB73F #3FB7B4
split-complementary
#783FB7 #B7B43F #42B73F
monochromatic
#3C205C #5A2F89 #783FB7 #9768CB #B696DB

Accessibility & contrast

On white

6.58
#783FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#783FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FB7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB7#FFFFFF#000000##FFFFFF
##783FB71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0C5DB4
Tritanopia (blue-blind)
#6B5A75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783fb7;
/* rgb */ color: rgb(120, 63, 183);
/* oklch */ color: oklch(50.0% 0.182 302.0);
Tailwind
colors: {
  custom: {
    50: '#a478cd',
    500: '#783fb7',
    950: '#000000',
  },
}
SCSS
$custom: #783fb7;
$custom-light: #a478cd;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb7",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 268.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.18192,
    "h": 302
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#783FB7
secondary
#AAC68B
accent
#D84F97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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