#783CBB#783CBB

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

Color values

HEX#783CBB
RGBrgb(120, 60, 187)
HSLhsl(268, 51%, 48%)
HSVhsv(268, 68%, 73%)
CMYKcmyk(35.8%, 67.9%, 0%, 26.7%)
CIE-LABlab(39.26, 50.67, -57.07)
CIE-LCHlch(39.26, 76.31, 311.60°)
OKLaboklab(49.87% 0.0992 -0.1624)
OKLCHoklch(49.87% 0.19 301.4)
XYZxyz(18.3291, 10.8126, 48.1255)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CBB #7FBB3C
analogous
#3C40BB #783CBB #B73CBB
triadic
#783CBB #BB783C #3CBB78
tetradic
#783CBB #BB3C40 #7FBB3C #3CBBB7
square
#783CBB #BB3C40 #7FBB3C #3CBBB7
split-complementary
#783CBB #BBB73C #40BB3C
monochromatic
#3D1E5E #5A2D8D #783CBB #9766CE #B795DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##783CBB#FFFFFF#000000##FFFFFF
##783CBB1.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)
#005CBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#6A5977
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783cbb;
/* rgb */ color: rgb(120, 60, 187);
/* oklch */ color: oklch(49.9% 0.190 301.4);
Tailwind
colors: {
  custom: {
    50: '#a476d0',
    500: '#783cbb',
    950: '#000000',
  },
}
SCSS
$custom: #783cbb;
$custom-light: #a476d0;
$custom-dark: #000000;
JSON
{
  "hex": "#783cbb",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 268.346,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49867,
    "c": 0.19036,
    "h": 301.4
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#783CBB
secondary
#ABC88B
accent
#DB4D98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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