#785DF4#785DF4

#785DF4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.216 H 285.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#785DF4
RGBrgb(120, 93, 244)
HSLhsl(251, 87%, 66%)
HSVhsv(251, 62%, 96%)
CMYKcmyk(50.8%, 61.9%, 0%, 4.3%)
CIE-LABlab(49.92, 48.49, -72.38)
CIE-LCHlch(49.92, 87.13, 303.82°)
OKLaboklab(58.88% 0.0591 -0.2075)
OKLCHoklch(58.88% 0.216 285.9)
XYZxyz(27.9844, 18.3520, 87.6381)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DF4 #D9F45D
analogous
#5D8DF4 #785DF4 #C35DF4
triadic
#785DF4 #F4785D #5DF478
tetradic
#785DF4 #F45D8D #D9F45D #5DF4C3
square
#785DF4 #F45D8D #D9F45D #5DF4C3
split-complementary
#785DF4 #F4C35D #8DF45D
monochromatic
#2F0EC9 #4824F0 #785DF4 #A896F8 #D8D0FC

Accessibility & contrast

On white

4.50
#785DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#785DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785DF4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DF4#FFFFFF#000000##000000
##785DF41.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#4881A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785df4;
/* rgb */ color: rgb(120, 93, 244);
/* oklch */ color: oklch(58.9% 0.216 285.9);
Tailwind
colors: {
  custom: {
    50: '#a88cf9',
    500: '#785df4',
    950: '#000000',
  },
}
SCSS
$custom: #785df4;
$custom-light: #a88cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#785df4",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 250.728,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.21577,
    "h": 285.9
  },
  "luminance": 0.18353
}

Semantic roles & 50–950 ramp

primary
#785DF4
secondary
#E6EFBE
accent
#E402BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785DF4

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

Preview Lab → · Contrast checker → · Palette generator →

#785DF4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva