#785DF9#785DF9

#785DF9 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.222 H 285.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#785DF9
RGBrgb(120, 93, 249)
HSLhsl(250, 93%, 67%)
HSVhsv(250, 63%, 98%)
CMYKcmyk(51.8%, 62.7%, 0%, 2.4%)
CIE-LABlab(50.29, 49.93, -74.58)
CIE-LCHlch(50.29, 89.75, 303.80°)
OKLaboklab(59.26% 0.0587 -0.214)
OKLCHoklch(59.26% 0.222 285.3)
XYZxyz(28.7538, 18.6598, 91.6908)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DF9 #DEF95D
analogous
#5D90F9 #785DF9 #C65DF9
triadic
#785DF9 #F9785D #5DF978
tetradic
#785DF9 #F95D90 #DEF95D #5DF9C6
square
#785DF9 #F95D90 #DEF95D #5DF9C6
split-complementary
#785DF9 #F9C65D #90F95D
monochromatic
#2B08D4 #4722F7 #785DF9 #A998FB #DAD3FD

Accessibility & contrast

On white

4.44
#785DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#785DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785DF9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DF9#FFFFFF#000000##000000
##785DF91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0073F6
Tritanopia (blue-blind)
#4483A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #785df9;
/* rgb */ color: rgb(120, 93, 249);
/* oklch */ color: oklch(59.3% 0.222 285.3);
Tailwind
colors: {
  custom: {
    50: '#a98cfc',
    500: '#785df9',
    950: '#000000',
  },
}
SCSS
$custom: #785df9;
$custom-light: #a98cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#785df9",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 250.385,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59258,
    "c": 0.22186,
    "h": 285.3
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#785DF9
secondary
#E9F2C0
accent
#E600BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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