#785DF3#785DF3

#785DF3 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.215 H 286.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#785DF3
RGBrgb(120, 93, 243)
HSLhsl(251, 86%, 66%)
HSVhsv(251, 62%, 95%)
CMYKcmyk(50.6%, 61.7%, 0%, 4.7%)
CIE-LABlab(49.85, 48.20, -71.94)
CIE-LCHlch(49.85, 86.60, 303.82°)
OKLaboklab(58.8% 0.0592 -0.2062)
OKLCHoklch(58.8% 0.215 286)
XYZxyz(27.8329, 18.2914, 86.8407)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DF3 #D8F35D
analogous
#5D8DF3 #785DF3 #C35DF3
triadic
#785DF3 #F3785D #5DF378
tetradic
#785DF3 #F35D8D #D8F35D #5DF3C3
square
#785DF3 #F35D8D #D8F35D #5DF3C3
split-complementary
#785DF3 #F3C35D #8DF35D
monochromatic
#300FC7 #4924EF #785DF3 #A796F7 #D7CFFB

Accessibility & contrast

On white

4.51
#785DF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#785DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785DF3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DF3#FFFFFF#000000##000000
##785DF31.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#49819F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785df3;
/* rgb */ color: rgb(120, 93, 243);
/* oklch */ color: oklch(58.8% 0.215 286.0);
Tailwind
colors: {
  custom: {
    50: '#a88cf8',
    500: '#785df3',
    950: '#000000',
  },
}
SCSS
$custom: #785df3;
$custom-light: #a88cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#785df3",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 250.8,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.21454,
    "h": 286
  },
  "luminance": 0.18293
}

Semantic roles & 50–950 ramp

primary
#785DF3
secondary
#E6EFBD
accent
#E303BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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