#785C99#785C99

#785C99 is a mid, moderate violet. Relative luminance 0.139; OKLCH L 52.8% C 0.098 H 304.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#785C99
RGBrgb(120, 92, 153)
HSLhsl(268, 25%, 48%)
HSVhsv(268, 40%, 60%)
CMYKcmyk(21.6%, 39.9%, 0%, 40%)
CIE-LABlab(44.16, 24.18, -29.13)
CIE-LCHlch(44.16, 37.86, 309.70°)
OKLaboklab(52.83% 0.0554 -0.0809)
OKLCHoklch(52.83% 0.098 304.4)
XYZxyz(17.3215, 13.9473, 31.9104)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785C99 #7D995C
analogous
#5C5E99 #785C99 #965C99
triadic
#785C99 #99785C #5C9978
tetradic
#785C99 #995C5E #7D995C #5C9996
square
#785C99 #995C5E #7D995C #5C9996
split-complementary
#785C99 #99965C #5E995C
monochromatic
#3C2E4D #5A4573 #785C99 #9780B2 #B6A6C9

Accessibility & contrast

On white

5.54
#785C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#785C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785C99
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785C99#FFFFFF#000000##FFFFFF
##785C991.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E689B
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#736673
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #785c99;
/* rgb */ color: rgb(120, 92, 153);
/* oklch */ color: oklch(52.8% 0.098 304.4);
Tailwind
colors: {
  custom: {
    50: '#a08ab7',
    500: '#785c99',
    950: '#000000',
  },
}
SCSS
$custom: #785c99;
$custom-light: #a08ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#785c99",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 267.541,
    "s": 24.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.09801,
    "h": 304.4
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#785C99
secondary
#AAB799
accent
#C16698
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #785C99

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

Preview Lab → · Contrast checker → · Palette generator →

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