#783CBD#783CBD

#783CBD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.193 H 300.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#783CBD
RGBrgb(120, 60, 189)
HSLhsl(268, 52%, 49%)
HSVhsv(268, 68%, 74%)
CMYKcmyk(36.5%, 68.3%, 0%, 25.9%)
CIE-LABlab(39.41, 51.17, -58.00)
CIE-LCHlch(39.41, 77.34, 311.42°)
OKLaboklab(50.02% 0.099 -0.1652)
OKLCHoklch(50.02% 0.193 300.9)
XYZxyz(18.5447, 10.8988, 49.2609)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CBD #81BD3C
analogous
#3C41BD #783CBD #B93CBD
triadic
#783CBD #BD783C #3CBD78
tetradic
#783CBD #BD3C41 #81BD3C #3CBDB9
square
#783CBD #BD3C41 #81BD3C #3CBDB9
split-complementary
#783CBD #BDB93C #41BD3C
monochromatic
#3D1F60 #5B2D8F #783CBD #9767CF #B796DE

Accessibility & contrast

On white

6.60
#783CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#783CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CBD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CBD#FFFFFF#000000##FFFFFF
##783CBD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783cbd;
/* rgb */ color: rgb(120, 60, 189);
/* oklch */ color: oklch(50.0% 0.193 300.9);
Tailwind
colors: {
  custom: {
    50: '#a476d2',
    500: '#783cbd',
    950: '#000000',
  },
}
SCSS
$custom: #783cbd;
$custom-light: #a476d2;
$custom-dark: #000000;
JSON
{
  "hex": "#783cbd",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 267.907,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.19257,
    "h": 300.9
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#783CBD
secondary
#ADC98C
accent
#DB4D99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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