#785EF0#785EF0

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

Color values

HEX#785EF0
RGBrgb(120, 94, 240)
HSLhsl(251, 83%, 65%)
HSVhsv(251, 61%, 94%)
CMYKcmyk(50%, 60.8%, 0%, 5.9%)
CIE-LABlab(49.84, 46.78, -70.27)
CIE-LCHlch(49.84, 84.42, 303.65°)
OKLaboklab(58.73% 0.0584 -0.2013)
OKLCHoklch(58.73% 0.21 286.2)
XYZxyz(27.4720, 18.2884, 84.5037)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EF0 #D6F05E
analogous
#5E8DF0 #785EF0 #C15EF0
triadic
#785EF0 #F0785E #5EF078
tetradic
#785EF0 #F05E8D #D6F05E #5EF0C1
square
#785EF0 #F05E8D #D6F05E #5EF0C1
split-complementary
#785EF0 #F0C15E #8DF05E
monochromatic
#3112C2 #4926EB #785EF0 #A796F5 #D6CEFA

Accessibility & contrast

On white

4.51
#785EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##785EF0#FFFFFF#000000##000000
##785EF01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#4C819E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785ef0;
/* rgb */ color: rgb(120, 94, 240);
/* oklch */ color: oklch(58.7% 0.210 286.2);
Tailwind
colors: {
  custom: {
    50: '#a88df6',
    500: '#785ef0',
    950: '#000000',
  },
}
SCSS
$custom: #785ef0;
$custom-light: #a88df6;
$custom-dark: #000000;
JSON
{
  "hex": "#785ef0",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 250.685,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.2096,
    "h": 286.2
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#785EF0
secondary
#E5EDBC
accent
#DF06B9
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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