#785DED#785DED

#785DED is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.207 H 286.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#785DED
RGBrgb(120, 93, 237)
HSLhsl(251, 80%, 65%)
HSVhsv(251, 61%, 93%)
CMYKcmyk(49.4%, 60.8%, 0%, 7.1%)
CIE-LABlab(49.42, 46.48, -69.28)
CIE-LCHlch(49.42, 83.43, 303.85°)
OKLaboklab(58.35% 0.0596 -0.1984)
OKLCHoklch(58.35% 0.207 286.7)
XYZxyz(26.9416, 17.9349, 82.1465)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DED #D2ED5D
analogous
#5D8AED #785DED #C05DED
triadic
#785DED #ED785D #5DED78
tetradic
#785DED #ED5D8A #D2ED5D #5DEDC0
square
#785DED #ED5D8A #D2ED5D #5DEDC0
split-complementary
#785DED #EDC05D #8AED5D
monochromatic
#3415BB #4A26E7 #785DED #A694F3 #D4CBF9

Accessibility & contrast

On white

4.58
#785DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#785DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785DED
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DED#FFFFFF#000000##000000
##785DED1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#4E7F9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785ded;
/* rgb */ color: rgb(120, 93, 237);
/* oklch */ color: oklch(58.4% 0.207 286.7);
Tailwind
colors: {
  custom: {
    50: '#a78cf4',
    500: '#785ded',
    950: '#000000',
  },
}
SCSS
$custom: #785ded;
$custom-light: #a78cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#785ded",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 251.25,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.20715,
    "h": 286.7
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#785DED
secondary
#E2ECBA
accent
#DC09B5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785DED

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

Preview Lab → · Contrast checker → · Palette generator →

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