#783BD1#783BD1

#783BD1 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.216 H 296.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#783BD1
RGBrgb(120, 59, 209)
HSLhsl(264, 62%, 53%)
HSVhsv(264, 72%, 82%)
CMYKcmyk(42.6%, 71.8%, 0%, 18%)
CIE-LABlab(40.77, 56.67, -67.42)
CIE-LCHlch(40.77, 88.07, 310.05°)
OKLaboklab(51.47% 0.0965 -0.1928)
OKLCHoklch(51.47% 0.216 296.6)
XYZxyz(20.8153, 11.7240, 61.4755)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BD1 #94D13B
analogous
#3B49D1 #783BD1 #C33BD1
triadic
#783BD1 #D1783B #3BD178
tetradic
#783BD1 #D13B49 #94D13B #3BD1C3
square
#783BD1 #D13B49 #94D13B #3BD1C3
split-complementary
#783BD1 #D1C33B #49D13B
monochromatic
#401C76 #5B27A7 #783BD1 #9A6DDD #BC9EE8

Accessibility & contrast

On white

6.28
#783BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#783BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BD1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BD1#FFFFFF#000000##FFFFFF
##783BD11.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#616182
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783bd1;
/* rgb */ color: rgb(120, 59, 209);
/* oklch */ color: oklch(51.5% 0.216 296.6);
Tailwind
colors: {
  custom: {
    50: '#a676e0',
    500: '#783bd1',
    950: '#000000',
  },
}
SCSS
$custom: #783bd1;
$custom-light: #a676e0;
$custom-dark: #000000;
JSON
{
  "hex": "#783bd1",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 209
  },
  "hsl": {
    "h": 264.4,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.21564,
    "h": 296.6
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#783BD1
secondary
#BAD493
accent
#E543A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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