#785EE9#785EE9

#785EE9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.2% C 0.201 H 287.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#785EE9
RGBrgb(120, 94, 233)
HSLhsl(251, 76%, 64%)
HSVhsv(251, 60%, 91%)
CMYKcmyk(48.5%, 59.7%, 0%, 8.6%)
CIE-LABlab(49.35, 44.76, -67.14)
CIE-LCHlch(49.35, 80.69, 303.69°)
OKLaboklab(58.21% 0.0588 -0.1921)
OKLCHoklch(58.21% 0.201 287)
XYZxyz(26.4521, 17.8805, 79.1325)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EE9 #CFE95E
analogous
#5E8AE9 #785EE9 #BE5EE9
triadic
#785EE9 #E9785E #5EE978
tetradic
#785EE9 #E95E8A #CFE95E #5EE9BE
square
#785EE9 #E95E8A #CFE95E #5EE9BE
split-complementary
#785EE9 #E9BE5E #8AE95E
monochromatic
#3619B4 #4B28E2 #785EE9 #A594F0 #D2CAF8

Accessibility & contrast

On white

4.59
#785EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#785EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785EE9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EE9#FFFFFF#000000##FFFFFF
##785EE91.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#517E9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785ee9;
/* rgb */ color: rgb(120, 94, 233);
/* oklch */ color: oklch(58.2% 0.201 287.0);
Tailwind
colors: {
  custom: {
    50: '#a78df1',
    500: '#785ee9',
    950: '#000000',
  },
}
SCSS
$custom: #785ee9;
$custom-light: #a78df1;
$custom-dark: #000000;
JSON
{
  "hex": "#785ee9",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 251.223,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.20089,
    "h": 287
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#785EE9
secondary
#E1EAB9
accent
#D80DB2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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