#795477#795477

#795477 is a mid, moderate purple. Relative luminance 0.117; OKLCH L 49.8% C 0.071 H 328.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#795477
RGBrgb(121, 84, 119)
HSLhsl(303, 18%, 40%)
HSVhsv(303, 31%, 47%)
CMYKcmyk(0%, 30.6%, 1.7%, 52.5%)
CIE-LABlab(40.80, 21.64, -13.75)
CIE-LCHlch(40.80, 25.64, 327.57°)
OKLaboklab(49.82% 0.0604 -0.0371)
OKLCHoklch(49.82% 0.071 328.4)
XYZxyz(14.3850, 11.7380, 18.9571)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795477 #547956
analogous
#685479 #795477 #795464
triadic
#795477 #777954 #547779
tetradic
#795477 #796854 #547956 #546479
square
#795477 #796854 #547956 #546479
split-complementary
#795477 #647954 #547968
monochromatic
#312230 #553B53 #795477 #9B6F99 #B493B2

Accessibility & contrast

On white

6.27
#795477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#795477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795477
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795477#FFFFFF#000000##FFFFFF
##7954771.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D78
Deuteranopia (green-blind)
#5B6276
Tritanopia (blue-blind)
#7C5761
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #795477;
/* rgb */ color: rgb(121, 84, 119);
/* oklch */ color: oklch(49.8% 0.071 328.4);
Tailwind
colors: {
  custom: {
    50: '#a0849e',
    500: '#795477',
    950: '#000000',
  },
}
SCSS
$custom: #795477;
$custom-light: #a0849e;
$custom-dark: #000000;
JSON
{
  "hex": "#795477",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 119
  },
  "hsl": {
    "h": 303.243,
    "s": 18.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49817,
    "c": 0.07085,
    "h": 328.4
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#795477
secondary
#87A288
accent
#BB716D
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0B0E
muted
#7E7C7E

Preview Lab

Preview with #795477

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

Preview Lab → · Contrast checker → · Palette generator →

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