#785FE9#785FE9

#785FE9 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.200 H 286.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#785FE9
RGBrgb(120, 95, 233)
HSLhsl(251, 76%, 64%)
HSVhsv(251, 59%, 91%)
CMYKcmyk(48.5%, 59.2%, 0%, 8.6%)
CIE-LABlab(49.57, 44.19, -66.79)
CIE-LCHlch(49.57, 80.09, 303.49°)
OKLaboklab(58.37% 0.0577 -0.1911)
OKLCHoklch(58.37% 0.2 286.8)
XYZxyz(26.5416, 18.0595, 79.1623)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FE9 #D0E95F
analogous
#5F8BE9 #785FE9 #BD5FE9
triadic
#785FE9 #E9785F #5FE978
tetradic
#785FE9 #E95F8B #D0E95F #5FE9BD
square
#785FE9 #E95F8B #D0E95F #5FE9BD
split-complementary
#785FE9 #E9BD5F #8BE95F
monochromatic
#3519B5 #4B29E2 #785FE9 #A595F0 #D3CBF8

Accessibility & contrast

On white

4.55
#785FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#785FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785FE9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FE9#FFFFFF#000000##000000
##785FE91.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#517F9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #785fe9;
/* rgb */ color: rgb(120, 95, 233);
/* oklch */ color: oklch(58.4% 0.200 286.8);
Tailwind
colors: {
  custom: {
    50: '#a78df1',
    500: '#785fe9',
    950: '#000000',
  },
}
SCSS
$custom: #785fe9;
$custom-light: #a78df1;
$custom-dark: #000000;
JSON
{
  "hex": "#785fe9",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 250.87,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.19959,
    "h": 286.8
  },
  "luminance": 0.18061
}

Semantic roles & 50–950 ramp

primary
#785FE9
secondary
#E1EABA
accent
#D80DB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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