#785BE6#785BE6

#785BE6 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.5% C 0.201 H 288.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#785BE6
RGBrgb(120, 91, 230)
HSLhsl(253, 74%, 63%)
HSVhsv(253, 60%, 90%)
CMYKcmyk(47.8%, 60.4%, 0%, 9.8%)
CIE-LABlab(48.50, 45.60, -66.84)
CIE-LCHlch(48.50, 80.91, 304.30°)
OKLaboklab(57.52% 0.062 -0.1912)
OKLCHoklch(57.52% 0.201 288)
XYZxyz(25.7656, 17.1873, 76.8074)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BE6 #C9E65B
analogous
#5B83E6 #785BE6 #BD5BE6
triadic
#785BE6 #E6785B #5BE678
tetradic
#785BE6 #E65B83 #C9E65B #5BE6BD
square
#785BE6 #E65B83 #C9E65B #5BE6BD
split-complementary
#785BE6 #E6BD5B #83E65B
monochromatic
#391AAC #4C26DE #785BE6 #A490EE #CFC5F6

Accessibility & contrast

On white

4.73
#785BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#785BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BE6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BE6#FFFFFF#000000##FFFFFF
##785BE61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#537B98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #785be6;
/* rgb */ color: rgb(120, 91, 230);
/* oklch */ color: oklch(57.5% 0.201 288.0);
Tailwind
colors: {
  custom: {
    50: '#a78bef',
    500: '#785be6',
    950: '#000000',
  },
}
SCSS
$custom: #785be6;
$custom-light: #a78bef;
$custom-dark: #000000;
JSON
{
  "hex": "#785be6",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 252.518,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.20102,
    "h": 288
  },
  "luminance": 0.17188
}

Semantic roles & 50–950 ramp

primary
#785BE6
secondary
#DDE7B5
accent
#D610AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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