#785CA5#785CA5

#785CA5 is a mid, moderate violet. Relative luminance 0.144; OKLCH L 53.5% C 0.114 H 300.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#785CA5
RGBrgb(120, 92, 165)
HSLhsl(263, 29%, 50%)
HSVhsv(263, 44%, 65%)
CMYKcmyk(27.3%, 44.2%, 0%, 35.3%)
CIE-LABlab(44.75, 27.19, -35.32)
CIE-LCHlch(44.75, 44.57, 307.59°)
OKLaboklab(53.47% 0.0577 -0.0988)
OKLCHoklch(53.47% 0.114 300.3)
XYZxyz(18.3629, 14.3639, 37.3951)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CA5 #89A55C
analogous
#5C64A5 #785CA5 #9D5CA5
triadic
#785CA5 #A5785C #5CA578
tetradic
#785CA5 #A55C64 #89A55C #5CA59D
square
#785CA5 #A55C64 #89A55C #5CA59D
split-complementary
#785CA5 #A59D5C #64A55C
monochromatic
#3F3057 #5B467E #785CA5 #9983BB #B9ABD1

Accessibility & contrast

On white

5.42
#785CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#785CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785CA5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CA5#FFFFFF#000000##FFFFFF
##785CA51.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA8
Deuteranopia (green-blind)
#4E69A3
Tritanopia (blue-blind)
#6F6978
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #785ca5;
/* rgb */ color: rgb(120, 92, 165);
/* oklch */ color: oklch(53.5% 0.114 300.3);
Tailwind
colors: {
  custom: {
    50: '#a18ac0',
    500: '#785ca5',
    950: '#000000',
  },
}
SCSS
$custom: #785ca5;
$custom-light: #a18ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#785ca5",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 263.014,
    "s": 28.854,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.11439,
    "h": 300.3
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#785CA5
secondary
#B2BF9E
accent
#C5639F
background
#FAF8FB
surface
#F3F0F7
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #785CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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