#785FE6#785FE6

#785FE6 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.196 H 287.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#785FE6
RGBrgb(120, 95, 230)
HSLhsl(251, 73%, 64%)
HSVhsv(251, 59%, 90%)
CMYKcmyk(47.8%, 58.7%, 0%, 9.8%)
CIE-LABlab(49.36, 43.33, -65.44)
CIE-LCHlch(49.36, 78.48, 303.51°)
OKLaboklab(58.16% 0.0578 -0.1871)
OKLCHoklch(58.16% 0.196 287.2)
XYZxyz(26.1167, 17.8895, 76.9245)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FE6 #CDE65F
analogous
#5F89E6 #785FE6 #BB5FE6
triadic
#785FE6 #E6785F #5FE678
tetradic
#785FE6 #E65F89 #CDE65F #5FE6BB
square
#785FE6 #E65F89 #CDE65F #5FE6BB
split-complementary
#785FE6 #E6BB5F #89E65F
monochromatic
#371BAF #4B2ADE #785FE6 #A594EE #D1C9F7

Accessibility & contrast

On white

4.59
#785FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#785FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785FE6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FE6#FFFFFF#000000##FFFFFF
##785FE61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#537E99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785fe6;
/* rgb */ color: rgb(120, 95, 230);
/* oklch */ color: oklch(58.2% 0.196 287.2);
Tailwind
colors: {
  custom: {
    50: '#a68def',
    500: '#785fe6',
    950: '#000000',
  },
}
SCSS
$custom: #785fe6;
$custom-light: #a68def;
$custom-dark: #000000;
JSON
{
  "hex": "#785fe6",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 251.111,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58156,
    "c": 0.1958,
    "h": 287.2
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#785FE6
secondary
#DFE8B9
accent
#D510B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #785FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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