#785DFF#785DFF

#785DFF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.229 H 284.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#785DFF
RGBrgb(120, 93, 255)
HSLhsl(250, 100%, 68%)
HSVhsv(250, 64%, 100%)
CMYKcmyk(52.9%, 63.5%, 0%, 0%)
CIE-LABlab(50.73, 51.66, -77.18)
CIE-LCHlch(50.73, 92.88, 303.80°)
OKLaboklab(59.72% 0.0581 -0.2216)
OKLCHoklch(59.72% 0.229 284.7)
XYZxyz(29.7046, 19.0401, 96.6982)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DFF #E4FF5D
analogous
#5D93FF #785DFF #C95DFF
triadic
#785DFF #FF785D #5DFF78
tetradic
#785DFF #FF5D93 #E4FF5D #5DFFC9
square
#785DFF #FF5D93 #E4FF5D #5DFFC9
split-complementary
#785DFF #FFC95D #93FF5D
monochromatic
#2600E2 #4520FF #785DFF #AB9AFF #DED7FF

Accessibility & contrast

On white

4.37
#785DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#785DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785DFF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DFF#FFFFFF#000000##000000
##785DFF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074FC
Tritanopia (blue-blind)
#3E85A6
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #785dff;
/* rgb */ color: rgb(120, 93, 255);
/* oklch */ color: oklch(59.7% 0.229 284.7);
Tailwind
colors: {
  custom: {
    50: '#aa8cff',
    500: '#785dff',
    950: '#000000',
  },
}
SCSS
$custom: #785dff;
$custom-light: #aa8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#785dff",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 250,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.59722,
    "c": 0.22912,
    "h": 284.7
  },
  "luminance": 0.19042
}

Semantic roles & 50–950 ramp

primary
#785DFF
secondary
#ECF4C3
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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