#783CB8#783CB8

#783CB8 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.187 H 302.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#783CB8
RGBrgb(120, 60, 184)
HSLhsl(269, 51%, 48%)
HSVhsv(269, 67%, 72%)
CMYKcmyk(34.8%, 67.4%, 0%, 27.8%)
CIE-LABlab(39.05, 49.93, -55.65)
CIE-LCHlch(39.05, 74.77, 311.89°)
OKLaboklab(49.64% 0.0996 -0.1583)
OKLCHoklch(49.64% 0.187 302.2)
XYZxyz(18.0113, 10.6854, 46.4517)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CB8 #7CB83C
analogous
#3C3EB8 #783CB8 #B63CB8
triadic
#783CB8 #B8783C #3CB878
tetradic
#783CB8 #B83C3E #7CB83C #3CB8B6
square
#783CB8 #B83C3E #7CB83C #3CB8B6
split-complementary
#783CB8 #B8B63C #3EB83C
monochromatic
#3C1E5C #5A2D8A #783CB8 #9765CD #B693DC

Accessibility & contrast

On white

6.69
#783CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783CB8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CB8#FFFFFF#000000##FFFFFF
##783CB81.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#6B5875
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783cb8;
/* rgb */ color: rgb(120, 60, 184);
/* oklch */ color: oklch(49.6% 0.187 302.2);
Tailwind
colors: {
  custom: {
    50: '#a476ce',
    500: '#783cb8',
    950: '#000000',
  },
}
SCSS
$custom: #783cb8;
$custom-light: #a476ce;
$custom-dark: #000000;
JSON
{
  "hex": "#783cb8",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 269.032,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49643,
    "c": 0.18702,
    "h": 302.2
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

primary
#783CB8
secondary
#A9C789
accent
#DA4D96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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