#783FC9#783FC9

#783FC9 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.3% C 0.202 H 297.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#783FC9
RGBrgb(120, 63, 201)
HSLhsl(265, 56%, 52%)
HSVhsv(265, 69%, 79%)
CMYKcmyk(40.3%, 68.7%, 0%, 21.2%)
CIE-LABlab(40.84, 52.71, -62.68)
CIE-LCHlch(40.84, 81.90, 310.06°)
OKLaboklab(51.32% 0.0941 -0.1789)
OKLCHoklch(51.32% 0.202 297.7)
XYZxyz(20.0631, 11.7648, 56.4608)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FC9 #90C93F
analogous
#3F4BC9 #783FC9 #BD3FC9
triadic
#783FC9 #C9783F #3FC978
tetradic
#783FC9 #C93F4B #90C93F #3FC9BD
square
#783FC9 #C93F4B #90C93F #3FC9BD
split-complementary
#783FC9 #C9BD3F #4BC93F
monochromatic
#401F6F #5C2D9E #783FC9 #9A6FD6 #BB9FE4

Accessibility & contrast

On white

6.26
#783FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#783FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FC9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FC9#FFFFFF#000000##FFFFFF
##783FC91.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#64607F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783fc9;
/* rgb */ color: rgb(120, 63, 201);
/* oklch */ color: oklch(51.3% 0.202 297.7);
Tailwind
colors: {
  custom: {
    50: '#a578da',
    500: '#783fc9',
    950: '#000000',
  },
}
SCSS
$custom: #783fc9;
$custom-light: #a578da;
$custom-dark: #000000;
JSON
{
  "hex": "#783fc9",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 264.783,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51322,
    "c": 0.20218,
    "h": 297.7
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#783FC9
secondary
#B7D094
accent
#DF48A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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