#785ACE#785ACE

#785ACE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.172 H 291.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#785ACE
RGBrgb(120, 90, 206)
HSLhsl(256, 54%, 58%)
HSVhsv(256, 56%, 81%)
CMYKcmyk(41.7%, 56.3%, 0%, 19.2%)
CIE-LABlab(46.66, 39.40, -56.15)
CIE-LCHlch(46.66, 68.59, 305.06°)
OKLaboklab(55.66% 0.0638 -0.1598)
OKLCHoklch(55.66% 0.172 291.8)
XYZxyz(22.5394, 15.7610, 60.2352)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785ACE #B0CE5A
analogous
#5A76CE #785ACE #B25ACE
triadic
#785ACE #CE785A #5ACE78
tetradic
#785ACE #CE5A76 #B0CE5A #5ACEB2
square
#785ACE #CE5A76 #B0CE5A #5ACEB2
split-complementary
#785ACE #CEB25A #76CE5A
monochromatic
#402886 #5736B5 #785ACE #9F89DC #C5B8EA

Accessibility & contrast

On white

5.06
#785ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#785ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785ACE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785ACE#FFFFFF#000000##FFFFFF
##785ACE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1970D2
Deuteranopia (green-blind)
#226CCB
Tritanopia (blue-blind)
#60738B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #785ace;
/* rgb */ color: rgb(120, 90, 206);
/* oklch */ color: oklch(55.7% 0.172 291.8);
Tailwind
colors: {
  custom: {
    50: '#a489de',
    500: '#785ace',
    950: '#000000',
  },
}
SCSS
$custom: #785ace;
$custom-light: #a489de;
$custom-dark: #000000;
JSON
{
  "hex": "#785ace",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 255.517,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5566,
    "c": 0.17203,
    "h": 291.8
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#785ACE
secondary
#CDD9AB
accent
#DE4AB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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