#783DC8#783DC8

#783DC8 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.203 H 298.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#783DC8
RGBrgb(120, 61, 200)
HSLhsl(265, 56%, 51%)
HSVhsv(265, 70%, 78%)
CMYKcmyk(40%, 69.5%, 0%, 21.6%)
CIE-LABlab(40.41, 53.44, -62.80)
CIE-LCHlch(40.41, 82.45, 310.40°)
OKLaboklab(50.99% 0.0963 -0.1793)
OKLCHoklch(50.99% 0.203 298.2)
XYZxyz(19.8371, 11.5004, 55.8070)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DC8 #8DC83D
analogous
#3D47C8 #783DC8 #BD3DC8
triadic
#783DC8 #C8783D #3DC878
tetradic
#783DC8 #C83D47 #8DC83D #3DC8BD
square
#783DC8 #C83D47 #8DC83D #3DC8BD
split-complementary
#783DC8 #C8BD3D #47C83D
monochromatic
#3F1F6C #5B2C9C #783DC8 #996DD6 #BA9CE3

Accessibility & contrast

On white

6.36
#783DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#783DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DC8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DC8#FFFFFF#000000##FFFFFF
##783DC81.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#655F7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783dc8;
/* rgb */ color: rgb(120, 61, 200);
/* oklch */ color: oklch(51.0% 0.203 298.2);
Tailwind
colors: {
  custom: {
    50: '#a577da',
    500: '#783dc8',
    950: '#000000',
  },
}
SCSS
$custom: #783dc8;
$custom-light: #a577da;
$custom-dark: #000000;
JSON
{
  "hex": "#783dc8",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 265.468,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.20349,
    "h": 298.2
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#783DC8
secondary
#B5CF92
accent
#DF499F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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