#785BF6#785BF6

#785BF6 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.221 H 286.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#785BF6
RGBrgb(120, 91, 246)
HSLhsl(251, 90%, 66%)
HSVhsv(251, 63%, 96%)
CMYKcmyk(51.2%, 63%, 0%, 3.5%)
CIE-LABlab(49.65, 50.18, -73.94)
CIE-LCHlch(49.65, 89.36, 304.16°)
OKLaboklab(58.73% 0.0609 -0.2121)
OKLCHoklch(58.73% 0.221 286)
XYZxyz(28.1164, 18.1276, 89.1884)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BF6 #D9F65B
analogous
#5B8BF6 #785BF6 #C55BF6
triadic
#785BF6 #F6785B #5BF678
tetradic
#785BF6 #F65B8B #D9F65B #5BF6C5
square
#785BF6 #F65B8B #D9F65B #5BF6C5
split-complementary
#785BF6 #F6C55B #8BF65B
monochromatic
#2F0BCB #4821F3 #785BF6 #A895F9 #D8CFFC

Accessibility & contrast

On white

4.54
#785BF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#785BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785BF6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BF6#FFFFFF#000000##000000
##785BF61.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0071F3
Tritanopia (blue-blind)
#4781A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #785bf6;
/* rgb */ color: rgb(120, 91, 246);
/* oklch */ color: oklch(58.7% 0.221 286.0);
Tailwind
colors: {
  custom: {
    50: '#a98bfa',
    500: '#785bf6',
    950: '#000000',
  },
}
SCSS
$custom: #785bf6;
$custom-light: #a98bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#785bf6",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 251.226,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58726,
    "c": 0.22065,
    "h": 286
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#785BF6
secondary
#E6F0BD
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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