#785DF7#785DF7

#785DF7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.219 H 285.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#785DF7
RGBrgb(120, 93, 247)
HSLhsl(251, 91%, 67%)
HSVhsv(251, 62%, 97%)
CMYKcmyk(51.4%, 62.3%, 0%, 3.1%)
CIE-LABlab(50.14, 49.36, -73.70)
CIE-LCHlch(50.14, 88.70, 303.81°)
OKLaboklab(59.11% 0.0589 -0.2114)
OKLCHoklch(59.11% 0.219 285.6)
XYZxyz(28.4436, 18.5357, 90.0566)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DF7 #DCF75D
analogous
#5D8FF7 #785DF7 #C55DF7
triadic
#785DF7 #F7785D #5DF778
tetradic
#785DF7 #F75D8F #DCF75D #5DF7C5
square
#785DF7 #F75D8F #DCF75D #5DF7C5
split-complementary
#785DF7 #F7C55D #8FF75D
monochromatic
#2D0ACF #4723F4 #785DF7 #A997FA #D9D2FD

Accessibility & contrast

On white

4.46
#785DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#785DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785DF7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DF7#FFFFFF#000000##000000
##785DF71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#4682A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785df7;
/* rgb */ color: rgb(120, 93, 247);
/* oklch */ color: oklch(59.1% 0.219 285.6);
Tailwind
colors: {
  custom: {
    50: '#a98cfb',
    500: '#785df7',
    950: '#000000',
  },
}
SCSS
$custom: #785df7;
$custom-light: #a98cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#785df7",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 250.519,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.21943,
    "h": 285.6
  },
  "luminance": 0.18537
}

Semantic roles & 50–950 ramp

primary
#785DF7
secondary
#E8F1BF
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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