#785EEF#785EEF

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

Color values

HEX#785EEF
RGBrgb(120, 94, 239)
HSLhsl(251, 82%, 65%)
HSVhsv(251, 61%, 94%)
CMYKcmyk(49.8%, 60.7%, 0%, 6.3%)
CIE-LABlab(49.77, 46.49, -69.83)
CIE-LCHlch(49.77, 83.89, 303.65°)
OKLaboklab(58.66% 0.0585 -0.2)
OKLCHoklch(58.66% 0.208 286.3)
XYZxyz(27.3238, 18.2291, 83.7235)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785EEF #D5EF5E
analogous
#5E8CEF #785EEF #C15EEF
triadic
#785EEF #EF785E #5EEF78
tetradic
#785EEF #EF5E8C #D5EF5E #5EEFC1
square
#785EEF #EF5E8C #D5EF5E #5EEFC1
split-complementary
#785EEF #EFC15E #8CEF5E
monochromatic
#3213C0 #4926E9 #785EEF #A796F5 #D5CDFA

Accessibility & contrast

On white

4.52
#785EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#785EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785EEF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785EEF#FFFFFF#000000##000000
##785EEF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#4C809E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #785eef;
/* rgb */ color: rgb(120, 94, 239);
/* oklch */ color: oklch(58.7% 0.208 286.3);
Tailwind
colors: {
  custom: {
    50: '#a88df5',
    500: '#785eef',
    950: '#000000',
  },
}
SCSS
$custom: #785eef;
$custom-light: #a88df5;
$custom-dark: #000000;
JSON
{
  "hex": "#785eef",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 250.759,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.20836,
    "h": 286.3
  },
  "luminance": 0.1823
}

Semantic roles & 50–950 ramp

primary
#785EEF
secondary
#E4EDBC
accent
#DE07B8
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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