#785EF9#785EF9

#785EF9 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.221 H 285.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#785EF9
RGBrgb(120, 94, 249)
HSLhsl(250, 93%, 67%)
HSVhsv(250, 62%, 98%)
CMYKcmyk(51.8%, 62.2%, 0%, 2.4%)
CIE-LABlab(50.50, 49.38, -74.24)
CIE-LCHlch(50.50, 89.16, 303.63°)
OKLaboklab(59.41% 0.0578 -0.213)
OKLCHoklch(59.41% 0.221 285.2)
XYZxyz(28.8422, 18.8365, 91.7202)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EF9 #DFF95E
analogous
#5E91F9 #785EF9 #C65EF9
triadic
#785EF9 #F9785E #5EF978
tetradic
#785EF9 #F95E91 #DFF95E #5EF9C6
square
#785EF9 #F95E91 #DFF95E #5EF9C6
split-complementary
#785EF9 #F9C65E #91F95E
monochromatic
#2A08D5 #4723F7 #785EF9 #A999FB #DBD4FD

Accessibility & contrast

On white

4.40
#785EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#785EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785EF9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EF9#FFFFFF#000000##000000
##785EF91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #785ef9;
/* rgb */ color: rgb(120, 94, 249);
/* oklch */ color: oklch(59.4% 0.221 285.2);
Tailwind
colors: {
  custom: {
    50: '#a98dfc',
    500: '#785ef9',
    950: '#000000',
  },
}
SCSS
$custom: #785ef9;
$custom-light: #a98dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#785ef9",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 250.065,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.22065,
    "h": 285.2
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#785EF9
secondary
#EAF2C1
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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