#785BD3#785BD3

#785BD3 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.177 H 290.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#785BD3
RGBrgb(120, 91, 211)
HSLhsl(255, 58%, 59%)
HSVhsv(255, 57%, 83%)
CMYKcmyk(43.1%, 56.9%, 0%, 17.3%)
CIE-LABlab(47.21, 40.22, -58.13)
CIE-LCHlch(47.21, 70.69, 304.68°)
OKLaboklab(56.17% 0.0626 -0.1656)
OKLCHoklch(56.17% 0.177 290.7)
XYZxyz(23.2414, 16.1776, 63.5134)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BD3 #B6D35B
analogous
#5B7AD3 #785BD3 #B45BD3
triadic
#785BD3 #D3785B #5BD378
tetradic
#785BD3 #D35B7A #B6D35B #5BD3B4
square
#785BD3 #D35B7A #B6D35B #5BD3B4
split-complementary
#785BD3 #D3B45B #7AD35B
monochromatic
#3F268E #5533BE #785BD3 #A08BE0 #C7BCED

Accessibility & contrast

On white

4.96
#785BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#785BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BD3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BD3#FFFFFF#000000##FFFFFF
##785BD31.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1072D7
Deuteranopia (green-blind)
#1A6DD0
Tritanopia (blue-blind)
#5E758E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #785bd3;
/* rgb */ color: rgb(120, 91, 211);
/* oklch */ color: oklch(56.2% 0.177 290.7);
Tailwind
colors: {
  custom: {
    50: '#a58ae1',
    500: '#785bd3',
    950: '#000000',
  },
}
SCSS
$custom: #785bd3;
$custom-light: #a58ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#785bd3",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 254.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56167,
    "c": 0.17703,
    "h": 290.7
  },
  "luminance": 0.16178
}

Semantic roles & 50–950 ramp

primary
#785BD3
secondary
#D1DCAD
accent
#E147BC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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