#783BBD#783BBD

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

Color values

HEX#783BBD
RGBrgb(120, 59, 189)
HSLhsl(268, 52%, 49%)
HSVhsv(268, 69%, 74%)
CMYKcmyk(36.5%, 68.8%, 0%, 25.9%)
CIE-LABlab(39.23, 51.66, -58.29)
CIE-LCHlch(39.23, 77.88, 311.55°)
OKLaboklab(49.89% 0.1 -0.166)
OKLCHoklch(49.89% 0.194 301.1)
XYZxyz(18.4928, 10.7950, 49.2436)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BBD #80BD3B
analogous
#3B3FBD #783BBD #B93BBD
triadic
#783BBD #BD783B #3BBD78
tetradic
#783BBD #BD3B3F #80BD3B #3BBDB9
square
#783BBD #BD3B3F #80BD3B #3BBDB9
split-complementary
#783BBD #BDB93B #3FBD3B
monochromatic
#3D1E60 #5A2C8E #783BBD #9766CF #B795DE

Accessibility & contrast

On white

6.65
#783BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783BBD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BBD#FFFFFF#000000##FFFFFF
##783BBD1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#695A77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783bbd;
/* rgb */ color: rgb(120, 59, 189);
/* oklch */ color: oklch(49.9% 0.194 301.1);
Tailwind
colors: {
  custom: {
    50: '#a475d2',
    500: '#783bbd',
    950: '#000000',
  },
}
SCSS
$custom: #783bbd;
$custom-light: #a475d2;
$custom-dark: #000000;
JSON
{
  "hex": "#783bbd",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 268.154,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49892,
    "c": 0.19383,
    "h": 301.1
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#783BBD
secondary
#ACC98B
accent
#DC4C98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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