#785DE9#785DE9

#785DE9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.1% C 0.202 H 287.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#785DE9
RGBrgb(120, 93, 233)
HSLhsl(252, 76%, 64%)
HSVhsv(252, 60%, 91%)
CMYKcmyk(48.5%, 60.1%, 0%, 8.6%)
CIE-LABlab(49.13, 45.33, -67.49)
CIE-LCHlch(49.13, 81.30, 303.89°)
OKLaboklab(58.06% 0.0598 -0.1931)
OKLCHoklch(58.06% 0.202 287.2)
XYZxyz(26.3638, 17.7038, 79.1030)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DE9 #CEE95D
analogous
#5D88E9 #785DE9 #BE5DE9
triadic
#785DE9 #E9785D #5DE978
tetradic
#785DE9 #E95D88 #CEE95D #5DE9BE
square
#785DE9 #E95D88 #CEE95D #5DE9BE
split-complementary
#785DE9 #E9BE5D #88E95D
monochromatic
#3618B3 #4B27E2 #785DE9 #A593F0 #D2C9F8

Accessibility & contrast

On white

4.62
#785DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#785DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785DE9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DE9#FFFFFF#000000##FFFFFF
##785DE91.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#517E9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785de9;
/* rgb */ color: rgb(120, 93, 233);
/* oklch */ color: oklch(58.1% 0.202 287.2);
Tailwind
colors: {
  custom: {
    50: '#a78cf1',
    500: '#785de9',
    950: '#000000',
  },
}
SCSS
$custom: #785de9;
$custom-light: #a78cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#785de9",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 251.571,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.20218,
    "h": 287.2
  },
  "luminance": 0.17705
}

Semantic roles & 50–950 ramp

primary
#785DE9
secondary
#E0E9B8
accent
#D80DB1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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