#785175#785175

#785175 is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.0% C 0.074 H 329.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#785175
RGBrgb(120, 81, 117)
HSLhsl(305, 19%, 39%)
HSVhsv(305, 33%, 47%)
CMYKcmyk(0%, 32.5%, 2.5%, 52.9%)
CIE-LABlab(39.85, 22.67, -13.97)
CIE-LCHlch(39.85, 26.63, 328.36°)
OKLaboklab(49.05% 0.0635 -0.0377)
OKLCHoklch(49.05% 0.074 329.3)
XYZxyz(13.8988, 11.1628, 18.2487)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785175 #517854
analogous
#685178 #785175 #785162
triadic
#785175 #757851 #517578
tetradic
#785175 #786851 #517854 #516278
square
#785175 #786851 #517854 #516278
split-complementary
#785175 #627851 #517868
monochromatic
#2F202E #533851 #785175 #9B6B97 #B490B1

Accessibility & contrast

On white

6.50
#785175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#785175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785175
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785175#FFFFFF#000000##FFFFFF
##7851751.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5B76
Deuteranopia (green-blind)
#596074
Tritanopia (blue-blind)
#7B545E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #785175;
/* rgb */ color: rgb(120, 81, 117);
/* oklch */ color: oklch(49.0% 0.074 329.3);
Tailwind
colors: {
  custom: {
    50: '#9f829c',
    500: '#785175',
    950: '#000000',
  },
}
SCSS
$custom: #785175;
$custom-light: #9f829c;
$custom-dark: #000000;
JSON
{
  "hex": "#785175",
  "rgb": {
    "r": 120,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 304.615,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49047,
    "c": 0.07384,
    "h": 329.3
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#785175
secondary
#84A186
accent
#BC726C
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #785175

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

Preview Lab → · Contrast checker → · Palette generator →

#785175 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva