#783FCA#783FCA

#783FCA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.203 H 297.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#783FCA
RGBrgb(120, 63, 202)
HSLhsl(265, 57%, 52%)
HSVhsv(265, 69%, 79%)
CMYKcmyk(40.6%, 68.8%, 0%, 20.8%)
CIE-LABlab(40.92, 52.96, -63.14)
CIE-LCHlch(40.92, 82.41, 309.99°)
OKLaboklab(51.4% 0.0939 -0.1803)
OKLCHoklch(51.4% 0.203 297.5)
XYZxyz(20.1812, 11.8120, 57.0823)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FCA #91CA3F
analogous
#3F4CCA #783FCA #BD3FCA
triadic
#783FCA #CA783F #3FCA78
tetradic
#783FCA #CA3F4C #91CA3F #3FCABD
square
#783FCA #CA3F4C #91CA3F #3FCABD
split-complementary
#783FCA #CABD3F #4CCA3F
monochromatic
#401F70 #5C2CA0 #783FCA #9A6FD7 #BB9FE4

Accessibility & contrast

On white

6.25
#783FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#783FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FCA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FCA#FFFFFF#000000##FFFFFF
##783FCA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#646180
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783fca;
/* rgb */ color: rgb(120, 63, 202);
/* oklch */ color: oklch(51.4% 0.203 297.5);
Tailwind
colors: {
  custom: {
    50: '#a578db',
    500: '#783fca',
    950: '#000000',
  },
}
SCSS
$custom: #783fca;
$custom-light: #a578db;
$custom-dark: #000000;
JSON
{
  "hex": "#783fca",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 264.604,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.514,
    "c": 0.20329,
    "h": 297.5
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#783FCA
secondary
#B8D194
accent
#E048A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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