#783BD2#783BD2

#783BD2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.217 H 296.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#783BD2
RGBrgb(120, 59, 210)
HSLhsl(264, 63%, 53%)
HSVhsv(264, 72%, 82%)
CMYKcmyk(42.9%, 71.9%, 0%, 17.6%)
CIE-LABlab(40.85, 56.92, -67.86)
CIE-LCHlch(40.85, 88.57, 309.99°)
OKLaboklab(51.55% 0.0963 -0.1942)
OKLCHoklch(51.55% 0.217 296.4)
XYZxyz(20.9395, 11.7737, 62.1296)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BD2 #95D23B
analogous
#3B4AD2 #783BD2 #C33BD2
triadic
#783BD2 #D2783B #3BD278
tetradic
#783BD2 #D23B4A #95D23B #3BD2C3
square
#783BD2 #D23B4A #95D23B #3BD2C3
split-complementary
#783BD2 #D2C33B #4AD23B
monochromatic
#401B77 #5B27A9 #783BD2 #9A6DDD #BD9FE9

Accessibility & contrast

On white

6.26
#783BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#783BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BD2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BD2#FFFFFF#000000##FFFFFF
##783BD21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#606283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783bd2;
/* rgb */ color: rgb(120, 59, 210);
/* oklch */ color: oklch(51.6% 0.217 296.4);
Tailwind
colors: {
  custom: {
    50: '#a676e1',
    500: '#783bd2',
    950: '#000000',
  },
}
SCSS
$custom: #783bd2;
$custom-light: #a676e1;
$custom-dark: #000000;
JSON
{
  "hex": "#783bd2",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 264.238,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.21672,
    "h": 296.4
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#783BD2
secondary
#BBD594
accent
#E642A4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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