#795279#795279

#795279 is a mid, moderate purple. Relative luminance 0.115; OKLCH L 49.5% C 0.077 H 326.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#795279
RGBrgb(121, 82, 121)
HSLhsl(300, 19%, 40%)
HSVhsv(300, 32%, 47%)
CMYKcmyk(0%, 32.2%, 0%, 52.5%)
CIE-LABlab(40.38, 23.25, -15.62)
CIE-LCHlch(40.38, 28.01, 326.11°)
OKLaboklab(49.53% 0.0643 -0.0423)
OKLCHoklch(49.53% 0.077 326.7)
XYZxyz(14.3533, 11.4805, 19.5453)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795279 #527952
analogous
#665279 #795279 #795266
triadic
#795279 #797952 #527979
tetradic
#795279 #796652 #527952 #526679
square
#795279 #796652 #527952 #526679
split-complementary
#795279 #667952 #527966
monochromatic
#302130 #553955 #795279 #9C6C9C #B491B4

Accessibility & contrast

On white

6.37
#795279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#795279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795279
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795279#FFFFFF#000000##FFFFFF
##7952791.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7B
Deuteranopia (green-blind)
#596178
Tritanopia (blue-blind)
#7B5560
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #795279;
/* rgb */ color: rgb(121, 82, 121);
/* oklch */ color: oklch(49.5% 0.077 326.7);
Tailwind
colors: {
  custom: {
    50: '#a0839f',
    500: '#795279',
    950: '#000000',
  },
}
SCSS
$custom: #795279;
$custom-light: #a0839f;
$custom-dark: #000000;
JSON
{
  "hex": "#795279",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 19.212,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.07698,
    "h": 326.7
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#795279
secondary
#85A285
accent
#BC6C6C
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #795279

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

Preview Lab → · Contrast checker → · Palette generator →

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