#795474#795474

#795474 is a mid, moderate purple. Relative luminance 0.117; OKLCH L 49.7% C 0.068 H 331.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#795474
RGBrgb(121, 84, 116)
HSLhsl(308, 18%, 40%)
HSVhsv(308, 31%, 47%)
CMYKcmyk(0%, 30.6%, 4.1%, 52.5%)
CIE-LABlab(40.68, 21.04, -12.09)
CIE-LCHlch(40.68, 24.26, 330.12°)
OKLaboklab(49.69% 0.0594 -0.0325)
OKLCHoklch(49.69% 0.068 331.3)
XYZxyz(14.2076, 11.6671, 18.0232)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795474 #547959
analogous
#6B5479 #795474 #795461
triadic
#795474 #747954 #547479
tetradic
#795474 #796B54 #547959 #546179
square
#795474 #796B54 #547959 #546179
split-complementary
#795474 #617954 #54796B
monochromatic
#31222F #553B51 #795474 #9B6F95 #B493B0

Accessibility & contrast

On white

6.30
#795474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#795474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795474
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795474#FFFFFF#000000##FFFFFF
##7954741.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535D75
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#7C565F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #795474;
/* rgb */ color: rgb(121, 84, 116);
/* oklch */ color: oklch(49.7% 0.068 331.3);
Tailwind
colors: {
  custom: {
    50: '#a0849c',
    500: '#795474',
    950: '#000000',
  },
}
SCSS
$custom: #795474;
$custom-light: #a0849c;
$custom-dark: #000000;
JSON
{
  "hex": "#795474",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 308.108,
    "s": 18.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49692,
    "c": 0.06767,
    "h": 331.3
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#795474
secondary
#87A28B
accent
#BB786D
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0B0E
muted
#7E7C7E

Preview Lab

Preview with #795474

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

Preview Lab → · Contrast checker → · Palette generator →

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