#785BD6#785BD6

#785BD6 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.181 H 290.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#785BD6
RGBrgb(120, 91, 214)
HSLhsl(254, 60%, 60%)
HSVhsv(254, 57%, 84%)
CMYKcmyk(43.9%, 57.5%, 0%, 16.1%)
CIE-LABlab(47.40, 41.06, -59.53)
CIE-LCHlch(47.40, 72.32, 304.60°)
OKLaboklab(56.38% 0.0626 -0.1697)
OKLCHoklch(56.38% 0.181 290.2)
XYZxyz(23.6210, 16.3295, 65.5126)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BD6 #B9D65B
analogous
#5B7CD6 #785BD6 #B55BD6
triadic
#785BD6 #D6785B #5BD678
tetradic
#785BD6 #D65B7C #B9D65B #5BD6B5
square
#785BD6 #D65B7C #B9D65B #5BD6B5
split-complementary
#785BD6 #D6B55B #7CD65B
monochromatic
#3E2592 #5331C3 #785BD6 #A08CE2 #C9BDEE

Accessibility & contrast

On white

4.92
#785BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#785BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BD6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BD6#FFFFFF#000000##FFFFFF
##785BD61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0373DA
Deuteranopia (green-blind)
#116ED3
Tritanopia (blue-blind)
#5C7690
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #785bd6;
/* rgb */ color: rgb(120, 91, 214);
/* oklch */ color: oklch(56.4% 0.181 290.2);
Tailwind
colors: {
  custom: {
    50: '#a58ae3',
    500: '#785bd6',
    950: '#000000',
  },
}
SCSS
$custom: #785bd6;
$custom-light: #a58ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#785bd6",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 254.146,
    "s": 60,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.18088,
    "h": 290.2
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#785BD6
secondary
#D3DEAF
accent
#E345BE
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #785BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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