#785DFD#785DFD

#785DFD is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.227 H 284.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#785DFD
RGBrgb(120, 93, 253)
HSLhsl(250, 98%, 68%)
HSVhsv(250, 63%, 99%)
CMYKcmyk(52.6%, 63.2%, 0%, 0.8%)
CIE-LABlab(50.58, 51.09, -76.32)
CIE-LCHlch(50.58, 91.84, 303.80°)
OKLaboklab(59.57% 0.0583 -0.2191)
OKLCHoklch(59.57% 0.227 284.9)
XYZxyz(29.3844, 18.9120, 95.0115)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DFD #E2FD5D
analogous
#5D92FD #785DFD #C85DFD
triadic
#785DFD #FD785D #5DFD78
tetradic
#785DFD #FD5D92 #E2FD5D #5DFDC8
square
#785DFD #FD5D92 #E2FD5D #5DFDC8
split-complementary
#785DFD #FDC85D #92FD5D
monochromatic
#2803DD #4621FC #785DFD #AA99FE #DDD6FE

Accessibility & contrast

On white

4.39
#785DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#785DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785DFD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DFD#FFFFFF#000000##000000
##785DFD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0073FA
Tritanopia (blue-blind)
#4084A5
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #785dfd;
/* rgb */ color: rgb(120, 93, 253);
/* oklch */ color: oklch(59.6% 0.227 284.9);
Tailwind
colors: {
  custom: {
    50: '#a98cff',
    500: '#785dfd',
    950: '#000000',
  },
}
SCSS
$custom: #785dfd;
$custom-light: #a98cff;
$custom-dark: #000000;
JSON
{
  "hex": "#785dfd",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 250.125,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.22671,
    "h": 284.9
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #785DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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