#785DEB#785DEB

#785DEB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.2% C 0.205 H 287.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#785DEB
RGBrgb(120, 93, 235)
HSLhsl(251, 78%, 64%)
HSVhsv(251, 60%, 92%)
CMYKcmyk(48.9%, 60.4%, 0%, 7.8%)
CIE-LABlab(49.28, 45.90, -68.39)
CIE-LCHlch(49.28, 82.37, 303.87°)
OKLaboklab(58.2% 0.0597 -0.1958)
OKLCHoklch(58.2% 0.205 287)
XYZxyz(26.6511, 17.8187, 80.6162)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DEB #D0EB5D
analogous
#5D89EB #785DEB #BF5DEB
triadic
#785DEB #EB785D #5DEB78
tetradic
#785DEB #EB5D89 #D0EB5D #5DEBBF
square
#785DEB #EB5D89 #D0EB5D #5DEBBF
split-complementary
#785DEB #EBBF5D #89EB5D
monochromatic
#3517B7 #4B27E4 #785DEB #A593F2 #D3CAF8

Accessibility & contrast

On white

4.60
#785DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#785DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785DEB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DEB#FFFFFF#000000##FFFFFF
##785DEB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#4F7E9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785deb;
/* rgb */ color: rgb(120, 93, 235);
/* oklch */ color: oklch(58.2% 0.205 287.0);
Tailwind
colors: {
  custom: {
    50: '#a78cf2',
    500: '#785deb',
    950: '#000000',
  },
}
SCSS
$custom: #785deb;
$custom-light: #a78cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#785deb",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 251.408,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.20467,
    "h": 287
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#785DEB
secondary
#E1EBB9
accent
#DA0BB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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