#795175#795175

#795175 is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.2% C 0.075 H 330.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#795175
RGBrgb(121, 81, 117)
HSLhsl(306, 20%, 40%)
HSVhsv(306, 33%, 47%)
CMYKcmyk(0%, 33.1%, 3.3%, 52.5%)
CIE-LABlab(39.97, 23.04, -13.78)
CIE-LCHlch(39.97, 26.84, 329.12°)
OKLaboklab(49.17% 0.0648 -0.0371)
OKLCHoklch(49.17% 0.075 330.2)
XYZxyz(14.0382, 11.2347, 18.2552)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795175 #517955
analogous
#695179 #795175 #795161
triadic
#795175 #757951 #517579
tetradic
#795175 #796951 #517955 #516179
square
#795175 #796951 #517955 #516179
split-complementary
#795175 #617951 #517969
monochromatic
#30202E #543852 #795175 #9C6B97 #B590B1

Accessibility & contrast

On white

6.47
#795175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#795175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795175
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795175#FFFFFF#000000##FFFFFF
##7951751.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B76
Deuteranopia (green-blind)
#596074
Tritanopia (blue-blind)
#7C545E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #795175;
/* rgb */ color: rgb(121, 81, 117);
/* oklch */ color: oklch(49.2% 0.075 330.2);
Tailwind
colors: {
  custom: {
    50: '#a0829c',
    500: '#795175',
    950: '#000000',
  },
}
SCSS
$custom: #795175;
$custom-light: #a0829c;
$custom-dark: #000000;
JSON
{
  "hex": "#795175",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 306,
    "s": 19.802,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.07466,
    "h": 330.2
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#795175
secondary
#84A287
accent
#BC736B
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #795175

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

Preview Lab → · Contrast checker → · Palette generator →

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