#783BB8#783BB8

#783BB8 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.188 H 302.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#783BB8
RGBrgb(120, 59, 184)
HSLhsl(269, 51%, 48%)
HSVhsv(269, 68%, 72%)
CMYKcmyk(34.8%, 67.9%, 0%, 27.8%)
CIE-LABlab(38.87, 50.42, -55.94)
CIE-LCHlch(38.87, 75.31, 312.03°)
OKLaboklab(49.51% 0.1007 -0.1591)
OKLCHoklch(49.51% 0.188 302.3)
XYZxyz(17.9594, 10.5817, 46.4344)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BB8 #7BB83B
analogous
#3B3DB8 #783BB8 #B63BB8
triadic
#783BB8 #B8783B #3BB878
tetradic
#783BB8 #B83B3D #7BB83B #3BB8B6
square
#783BB8 #B83B3D #7BB83B #3BB8B6
split-complementary
#783BB8 #B8B63B #3DB83B
monochromatic
#3C1D5B #5A2C8A #783BB8 #9763CD #B692DC

Accessibility & contrast

On white

6.74
#783BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#783BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BB8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BB8#FFFFFF#000000##FFFFFF
##783BB81.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.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: #783bb8;
/* rgb */ color: rgb(120, 59, 184);
/* oklch */ color: oklch(49.5% 0.188 302.3);
Tailwind
colors: {
  custom: {
    50: '#a475ce',
    500: '#783bb8',
    950: '#000000',
  },
}
SCSS
$custom: #783bb8;
$custom-light: #a475ce;
$custom-dark: #000000;
JSON
{
  "hex": "#783bb8",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 269.28,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.18832,
    "h": 302.3
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#783BB8
secondary
#A8C788
accent
#DB4D96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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