#785CA4#785CA4

#785CA4 is a mid, moderate violet. Relative luminance 0.143; OKLCH L 53.4% C 0.113 H 300.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#785CA4
RGBrgb(120, 92, 164)
HSLhsl(263, 28%, 50%)
HSVhsv(263, 44%, 64%)
CMYKcmyk(26.8%, 43.9%, 0%, 35.7%)
CIE-LABlab(44.70, 26.94, -34.81)
CIE-LCHlch(44.70, 44.01, 307.74°)
OKLaboklab(53.41% 0.0575 -0.0973)
OKLCHoklch(53.41% 0.113 300.6)
XYZxyz(18.2722, 14.3276, 36.9176)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CA4 #88A45C
analogous
#5C64A4 #785CA4 #9C5CA4
triadic
#785CA4 #A4785C #5CA478
tetradic
#785CA4 #A45C64 #88A45C #5CA49C
square
#785CA4 #A45C64 #88A45C #5CA49C
split-complementary
#785CA4 #A49C5C #64A45C
monochromatic
#3F3056 #5B467D #785CA4 #9983BA #B9ABD0

Accessibility & contrast

On white

5.43
#785CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #785CA4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CA4#FFFFFF#000000##FFFFFF
##785CA41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A7
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#706878
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #785ca4;
/* rgb */ color: rgb(120, 92, 164);
/* oklch */ color: oklch(53.4% 0.113 300.6);
Tailwind
colors: {
  custom: {
    50: '#a18abf',
    500: '#785ca4',
    950: '#000000',
  },
}
SCSS
$custom: #785ca4;
$custom-light: #a18abf;
$custom-dark: #000000;
JSON
{
  "hex": "#785ca4",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 263.333,
    "s": 28.346,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53414,
    "c": 0.11303,
    "h": 300.6
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #785CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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