#783ACC#783ACC

#783ACC is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.211 H 297.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#783ACC
RGBrgb(120, 58, 204)
HSLhsl(265, 59%, 51%)
HSVhsv(265, 72%, 80%)
CMYKcmyk(41.2%, 71.6%, 0%, 20%)
CIE-LABlab(40.21, 55.87, -65.44)
CIE-LCHlch(40.21, 86.05, 310.49°)
OKLaboklab(50.95% 0.0984 -0.187)
OKLCHoklch(50.95% 0.211 297.8)
XYZxyz(20.1551, 11.3785, 58.2494)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ACC #8ECC3A
analogous
#3A45CC #783ACC #C13ACC
triadic
#783ACC #CC783A #3ACC78
tetradic
#783ACC #CC3A45 #8ECC3A #3ACCC1
square
#783ACC #CC3A45 #8ECC3A #3ACCC1
split-complementary
#783ACC #CCC13A #45CC3A
monochromatic
#401D6F #5B29A0 #783ACC #996BD9 #BB9BE5

Accessibility & contrast

On white

6.41
#783ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#783ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783ACC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783ACC#FFFFFF#000000##FFFFFF
##783ACC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#635F7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783acc;
/* rgb */ color: rgb(120, 58, 204);
/* oklch */ color: oklch(50.9% 0.211 297.8);
Tailwind
colors: {
  custom: {
    50: '#a675dd',
    500: '#783acc',
    950: '#000000',
  },
}
SCSS
$custom: #783acc;
$custom-light: #a675dd;
$custom-dark: #000000;
JSON
{
  "hex": "#783acc",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 265.479,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.21136,
    "h": 297.8
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#783ACC
secondary
#B6D191
accent
#E246A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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