#785FED#785FED

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

Color values

HEX#785FED
RGBrgb(120, 95, 237)
HSLhsl(251, 80%, 65%)
HSVhsv(251, 60%, 93%)
CMYKcmyk(49.4%, 59.9%, 0%, 7.1%)
CIE-LABlab(49.85, 45.35, -68.59)
CIE-LCHlch(49.85, 82.22, 303.47°)
OKLaboklab(58.67% 0.0575 -0.1963)
OKLCHoklch(58.67% 0.205 286.3)
XYZxyz(27.1195, 18.2906, 82.2058)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FED #D4ED5F
analogous
#5F8DED #785FED #BF5FED
triadic
#785FED #ED785F #5FED78
tetradic
#785FED #ED5F8D #D4ED5F #5FEDBF
square
#785FED #ED5F8D #D4ED5F #5FEDBF
split-complementary
#785FED #EDBF5F #8DED5F
monochromatic
#3315BC #4A28E7 #785FED #A696F3 #D5CDF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##785FED#FFFFFF#000000##000000
##785FED1.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)
#007AF2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#4E809D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785fed;
/* rgb */ color: rgb(120, 95, 237);
/* oklch */ color: oklch(58.7% 0.205 286.3);
Tailwind
colors: {
  custom: {
    50: '#a78df4',
    500: '#785fed',
    950: '#000000',
  },
}
SCSS
$custom: #785fed;
$custom-light: #a78df4;
$custom-dark: #000000;
JSON
{
  "hex": "#785fed",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 250.563,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58665,
    "c": 0.2046,
    "h": 286.3
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#785FED
secondary
#E3ECBC
accent
#DC09B7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785FED

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

Preview Lab → · Contrast checker → · Palette generator →

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