#785EF3#785EF3

#785EF3 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.213 H 285.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#785EF3
RGBrgb(120, 94, 243)
HSLhsl(250, 86%, 66%)
HSVhsv(250, 61%, 95%)
CMYKcmyk(50.6%, 61.3%, 0%, 4.7%)
CIE-LABlab(50.06, 47.64, -71.60)
CIE-LCHlch(50.06, 86.00, 303.64°)
OKLaboklab(58.96% 0.0582 -0.2052)
OKLCHoklch(58.96% 0.213 285.8)
XYZxyz(27.9213, 18.4681, 86.8701)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EF3 #D9F35E
analogous
#5E8EF3 #785EF3 #C25EF3
triadic
#785EF3 #F3785E #5EF378
tetradic
#785EF3 #F35E8E #D9F35E #5EF3C2
square
#785EF3 #F35E8E #D9F35E #5EF3C2
split-complementary
#785EF3 #F3C25E #8EF35E
monochromatic
#2F0FC8 #4825EF #785EF3 #A897F7 #D8D0FB

Accessibility & contrast

On white

4.47
#785EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#785EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785EF3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EF3#FFFFFF#000000##000000
##785EF31.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#4982A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785ef3;
/* rgb */ color: rgb(120, 94, 243);
/* oklch */ color: oklch(59.0% 0.213 285.8);
Tailwind
colors: {
  custom: {
    50: '#a88df8',
    500: '#785ef3',
    950: '#000000',
  },
}
SCSS
$custom: #785ef3;
$custom-light: #a88df8;
$custom-dark: #000000;
JSON
{
  "hex": "#785ef3",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 250.47,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.2133,
    "h": 285.8
  },
  "luminance": 0.1847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #785EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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