#794876#794876

#794876 is a mid, moderate purple. Relative luminance 0.100; OKLCH L 47.6% C 0.093 H 329.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#794876
RGBrgb(121, 72, 118)
HSLhsl(304, 25%, 38%)
HSVhsv(304, 40%, 47%)
CMYKcmyk(0%, 40.5%, 2.5%, 52.5%)
CIE-LABlab(37.86, 28.55, -17.63)
CIE-LCHlch(37.86, 33.56, 328.31°)
OKLaboklab(47.58% 0.08 -0.0479)
OKLCHoklch(47.58% 0.093 329.1)
XYZxyz(13.4723, 10.0083, 18.3582)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794876 #48794B
analogous
#634879 #794876 #79485D
triadic
#794876 #767948 #487679
tetradic
#794876 #796348 #48794B #485D79
square
#794876 #796348 #48794B #485D79
split-complementary
#794876 #5D7948 #487963
monochromatic
#2C1A2B #533151 #794876 #9F5F9B #B685B3

Accessibility & contrast

On white

7.00
#794876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#794876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794876
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794876#FFFFFF#000000##FFFFFF
##7948761.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455578
Deuteranopia (green-blind)
#525B74
Tritanopia (blue-blind)
#7C4C59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794876;
/* rgb */ color: rgb(121, 72, 118);
/* oklch */ color: oklch(47.6% 0.093 329.1);
Tailwind
colors: {
  custom: {
    50: '#a17c9d',
    500: '#794876',
    950: '#000000',
  },
}
SCSS
$custom: #794876;
$custom-light: #a17c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#794876",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 303.673,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.09327,
    "h": 329.1
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#794876
secondary
#7AA27D
accent
#C26C66
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794876

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

Preview Lab → · Contrast checker → · Palette generator →

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