#795479#795479

#795479 is a mid, moderate purple. Relative luminance 0.118; OKLCH L 49.9% C 0.073 H 326.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#795479
RGBrgb(121, 84, 121)
HSLhsl(300, 18%, 40%)
HSVhsv(300, 31%, 47%)
CMYKcmyk(0%, 30.6%, 0%, 52.5%)
CIE-LABlab(40.87, 22.05, -14.86)
CIE-LCHlch(40.87, 26.59, 326.03°)
OKLaboklab(49.9% 0.061 -0.0402)
OKLCHoklch(49.9% 0.073 326.6)
XYZxyz(14.5063, 11.7866, 19.5963)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795479 #547954
analogous
#665479 #795479 #795466
triadic
#795479 #797954 #547979
tetradic
#795479 #796654 #547954 #546679
square
#795479 #796654 #547954 #546679
split-complementary
#795479 #667954 #547966
monochromatic
#312231 #553B55 #795479 #9B6F9B #B493B4

Accessibility & contrast

On white

6.26
#795479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#795479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795479
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795479#FFFFFF#000000##FFFFFF
##7954791.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7A
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#7B5761
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #795479;
/* rgb */ color: rgb(121, 84, 121);
/* oklch */ color: oklch(49.9% 0.073 326.6);
Tailwind
colors: {
  custom: {
    50: '#a0849f',
    500: '#795479',
    950: '#000000',
  },
}
SCSS
$custom: #795479;
$custom-light: #a0849f;
$custom-dark: #000000;
JSON
{
  "hex": "#795479",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 18.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49902,
    "c": 0.07304,
    "h": 326.6
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#795479
secondary
#87A287
accent
#BB6D6D
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0B0E
muted
#7E7C7E

Preview Lab

Preview with #795479

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

Preview Lab → · Contrast checker → · Palette generator →

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