#785F99#785F99

#785F99 is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.4% C 0.093 H 303.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#785F99
RGBrgb(120, 95, 153)
HSLhsl(266, 23%, 49%)
HSVhsv(266, 38%, 60%)
CMYKcmyk(21.6%, 37.9%, 0%, 40%)
CIE-LABlab(44.91, 22.37, -27.95)
CIE-LCHlch(44.91, 35.80, 308.67°)
OKLaboklab(53.4% 0.0508 -0.0775)
OKLCHoklch(53.4% 0.093 303.2)
XYZxyz(17.5865, 14.4774, 31.9987)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785F99 #80995F
analogous
#5F6399 #785F99 #955F99
triadic
#785F99 #99785F #5F9978
tetradic
#785F99 #995F63 #80995F #5F9995
square
#785F99 #995F63 #80995F #5F9995
split-complementary
#785F99 #99955F #63995F
monochromatic
#3D304D #5A4873 #785F99 #9783B2 #B7A9CA

Accessibility & contrast

On white

5.39
#785F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#785F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785F99
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785F99#FFFFFF#000000##FFFFFF
##785F991.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#736875
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #785f99;
/* rgb */ color: rgb(120, 95, 153);
/* oklch */ color: oklch(53.4% 0.093 303.2);
Tailwind
colors: {
  custom: {
    50: '#a08cb7',
    500: '#785f99',
    950: '#000000',
  },
}
SCSS
$custom: #785f99;
$custom-light: #a08cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#785f99",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 265.862,
    "s": 23.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53398,
    "c": 0.09267,
    "h": 303.2
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#785F99
secondary
#ACB89C
accent
#C0689A
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #785F99

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

Preview Lab → · Contrast checker → · Palette generator →

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