#785DE1#785DE1

#785DE1 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.192 H 288.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#785DE1
RGBrgb(120, 93, 225)
HSLhsl(252, 69%, 62%)
HSVhsv(252, 59%, 88%)
CMYKcmyk(46.7%, 58.7%, 0%, 11.8%)
CIE-LABlab(48.58, 43.04, -63.87)
CIE-LCHlch(48.58, 77.02, 303.97°)
OKLaboklab(57.48% 0.0601 -0.1825)
OKLCHoklch(57.48% 0.192 288.2)
XYZxyz(25.2468, 17.2570, 73.2202)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DE1 #C6E15D
analogous
#5D84E1 #785DE1 #BA5DE1
triadic
#785DE1 #E1785D #5DE178
tetradic
#785DE1 #E15D84 #C6E15D #5DE1BA
square
#785DE1 #E15D84 #C6E15D #5DE1BA
split-complementary
#785DE1 #E1BA5D #84E15D
monochromatic
#3A1FA5 #4D29D7 #785DE1 #A391EB #CEC4F4

Accessibility & contrast

On white

4.72
#785DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#785DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785DE1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DE1#FFFFFF#000000##FFFFFF
##785DE11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#567B96
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #785de1;
/* rgb */ color: rgb(120, 93, 225);
/* oklch */ color: oklch(57.5% 0.192 288.2);
Tailwind
colors: {
  custom: {
    50: '#a68ceb',
    500: '#785de1',
    950: '#000000',
  },
}
SCSS
$custom: #785de1;
$custom-light: #a68ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#785de1",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 225
  },
  "hsl": {
    "h": 252.273,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.19213,
    "h": 288.2
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#785DE1
secondary
#DBE5B5
accent
#D115AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #785DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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