#785AED#785AED

#785AED is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.211 H 287.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#785AED
RGBrgb(120, 90, 237)
HSLhsl(252, 80%, 64%)
HSVhsv(252, 62%, 93%)
CMYKcmyk(49.4%, 62%, 0%, 7.1%)
CIE-LABlab(48.78, 48.16, -70.31)
CIE-LCHlch(48.78, 85.22, 304.41°)
OKLaboklab(57.89% 0.0626 -0.2014)
OKLCHoklch(57.89% 0.211 287.3)
XYZxyz(26.6835, 17.4186, 82.0605)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785AED #CFED5A
analogous
#5A86ED #785AED #C25AED
triadic
#785AED #ED785A #5AED78
tetradic
#785AED #ED5A86 #CFED5A #5AEDC2
square
#785AED #ED5A86 #CFED5A #5AEDC2
split-complementary
#785AED #EDC25A #86ED5A
monochromatic
#3614B8 #4B23E7 #785AED #A591F3 #D2C8F9

Accessibility & contrast

On white

4.68
#785AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#785AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785AED
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785AED#FFFFFF#000000##FFFFFF
##785AED1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#4E7D9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #785aed;
/* rgb */ color: rgb(120, 90, 237);
/* oklch */ color: oklch(57.9% 0.211 287.3);
Tailwind
colors: {
  custom: {
    50: '#a88af4',
    500: '#785aed',
    950: '#000000',
  },
}
SCSS
$custom: #785aed;
$custom-light: #a88af4;
$custom-dark: #000000;
JSON
{
  "hex": "#785aed",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 252.245,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.21093,
    "h": 287.3
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#785AED
secondary
#E1EBB8
accent
#DD09B1
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #785AED

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

Preview Lab → · Contrast checker → · Palette generator →

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