#785DF6#785DF6

#785DF6 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.218 H 285.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#785DF6
RGBrgb(120, 93, 246)
HSLhsl(251, 89%, 66%)
HSVhsv(251, 62%, 96%)
CMYKcmyk(51.2%, 62.2%, 0%, 3.5%)
CIE-LABlab(50.07, 49.07, -73.26)
CIE-LCHlch(50.07, 88.18, 303.81°)
OKLaboklab(59.03% 0.0589 -0.2101)
OKLCHoklch(59.03% 0.218 285.7)
XYZxyz(28.2897, 18.4741, 89.2461)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785DF6 #DBF65D
analogous
#5D8FF6 #785DF6 #C55DF6
triadic
#785DF6 #F6785D #5DF678
tetradic
#785DF6 #F65D8F #DBF65D #5DF6C5
square
#785DF6 #F65D8F #DBF65D #5DF6C5
split-complementary
#785DF6 #F6C55D #8FF65D
monochromatic
#2E0BCD #4823F3 #785DF6 #A897F9 #D9D1FC

Accessibility & contrast

On white

4.47
#785DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#785DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785DF6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785DF6#FFFFFF#000000##000000
##785DF61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#4782A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785df6;
/* rgb */ color: rgb(120, 93, 246);
/* oklch */ color: oklch(59.0% 0.218 285.7);
Tailwind
colors: {
  custom: {
    50: '#a98cfa',
    500: '#785df6',
    950: '#000000',
  },
}
SCSS
$custom: #785df6;
$custom-light: #a98cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#785df6",
  "rgb": {
    "r": 120,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 250.588,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59028,
    "c": 0.21821,
    "h": 285.7
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#785DF6
secondary
#E7F0BF
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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