#783FCB#783FCB

#783FCB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.204 H 297.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#783FCB
RGBrgb(120, 63, 203)
HSLhsl(264, 57%, 52%)
HSVhsv(264, 69%, 80%)
CMYKcmyk(40.9%, 69%, 0%, 20.4%)
CIE-LABlab(40.99, 53.22, -63.59)
CIE-LCHlch(40.99, 82.92, 309.93°)
OKLaboklab(51.48% 0.0938 -0.1816)
OKLCHoklch(51.48% 0.204 297.3)
XYZxyz(20.2999, 11.8595, 57.7079)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FCB #92CB3F
analogous
#3F4CCB #783FCB #BE3FCB
triadic
#783FCB #CB783F #3FCB78
tetradic
#783FCB #CB3F4C #92CB3F #3FCBBE
square
#783FCB #CB3F4C #92CB3F #3FCBBE
split-complementary
#783FCB #CBBE3F #4CCB3F
monochromatic
#401F71 #5B2CA1 #783FCB #9A6FD8 #BC9FE5

Accessibility & contrast

On white

6.23
#783FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#783FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FCB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FCB#FFFFFF#000000##FFFFFF
##783FCB1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#636180
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #783fcb;
/* rgb */ color: rgb(120, 63, 203);
/* oklch */ color: oklch(51.5% 0.204 297.3);
Tailwind
colors: {
  custom: {
    50: '#a578dc',
    500: '#783fcb',
    950: '#000000',
  },
}
SCSS
$custom: #783fcb;
$custom-light: #a578dc;
$custom-dark: #000000;
JSON
{
  "hex": "#783fcb",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 264.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.20441,
    "h": 297.3
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#783FCB
secondary
#B9D194
accent
#E147A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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