#785BF9#785BF9

#785BF9 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.224 H 285.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#785BF9
RGBrgb(120, 91, 249)
HSLhsl(251, 93%, 67%)
HSVhsv(251, 63%, 98%)
CMYKcmyk(51.8%, 63.5%, 0%, 2.4%)
CIE-LABlab(49.87, 51.04, -75.25)
CIE-LCHlch(49.87, 90.92, 304.15°)
OKLaboklab(58.96% 0.0606 -0.2159)
OKLCHoklch(58.96% 0.224 285.7)
XYZxyz(28.5806, 18.3133, 91.6330)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BF9 #DCF95B
analogous
#5B8DF9 #785BF9 #C75BF9
triadic
#785BF9 #F9785B #5BF978
tetradic
#785BF9 #F95B8D #DCF95B #5BF9C7
square
#785BF9 #F95B8D #DCF95B #5BF9C7
split-complementary
#785BF9 #F9C75B #8DF95B
monochromatic
#2D08D2 #4720F7 #785BF9 #A996FB #D9D1FD

Accessibility & contrast

On white

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

On black

4.66
#785BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785BF9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BF9#FFFFFF#000000##000000
##785BF91.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#0072F6
Tritanopia (blue-blind)
#4482A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785bf9;
/* rgb */ color: rgb(120, 91, 249);
/* oklch */ color: oklch(59.0% 0.224 285.7);
Tailwind
colors: {
  custom: {
    50: '#a98bfc',
    500: '#785bf9',
    950: '#000000',
  },
}
SCSS
$custom: #785bf9;
$custom-light: #a98bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#785bf9",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 249
  },
  "hsl": {
    "h": 251.013,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.22427,
    "h": 285.7
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#785BF9
secondary
#E8F1BE
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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