#783CB3#783CB3

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

Color values

HEX#783CB3
RGBrgb(120, 60, 179)
HSLhsl(270, 50%, 47%)
HSVhsv(270, 66%, 70%)
CMYKcmyk(33%, 66.5%, 0%, 29.8%)
CIE-LABlab(38.69, 48.70, -53.28)
CIE-LCHlch(38.69, 72.18, 312.43°)
OKLaboklab(49.27% 0.1002 -0.1513)
OKLCHoklch(49.27% 0.181 303.5)
XYZxyz(17.4964, 10.4795, 43.7401)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CB3 #77B33C
analogous
#3C3CB3 #783CB3 #B33CB3
triadic
#783CB3 #B3783C #3CB378
tetradic
#783CB3 #B33C3C #77B33C #3CB3B3
square
#783CB3 #B33C3C #77B33C #3CB3B3
split-complementary
#783CB3 #B3B33C #3CB33C
monochromatic
#3B1D57 #592D85 #783CB3 #9762CA #B590DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##783CB3#FFFFFF#000000##FFFFFF
##783CB31.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)
#005AB7
Deuteranopia (green-blind)
#105BB0
Tritanopia (blue-blind)
#6D5672
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783cb3;
/* rgb */ color: rgb(120, 60, 179);
/* oklch */ color: oklch(49.3% 0.181 303.5);
Tailwind
colors: {
  custom: {
    50: '#a376ca',
    500: '#783cb3',
    950: '#000000',
  },
}
SCSS
$custom: #783cb3;
$custom-light: #a376ca;
$custom-dark: #000000;
JSON
{
  "hex": "#783cb3",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 270.252,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49274,
    "c": 0.18147,
    "h": 303.5
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#783CB3
secondary
#A5C586
accent
#D94E93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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