#795681#795681

#795681 is a mid, moderate purple. Relative luminance 0.123; OKLCH L 50.6% C 0.078 H 320.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#795681
RGBrgb(121, 86, 129)
HSLhsl(289, 20%, 42%)
HSVhsv(289, 33%, 51%)
CMYKcmyk(6.2%, 33.3%, 0%, 49.4%)
CIE-LABlab(41.70, 22.55, -18.48)
CIE-LCHlch(41.70, 29.15, 320.66°)
OKLaboklab(50.64% 0.0601 -0.0504)
OKLCHoklch(50.64% 0.078 320)
XYZxyz(15.1749, 12.3059, 22.3405)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795681 #5E8156
analogous
#645681 #795681 #815674
triadic
#795681 #817956 #568179
tetradic
#795681 #816456 #5E8156 #567481
square
#795681 #816456 #5E8156 #567481
split-complementary
#795681 #748156 #568164
monochromatic
#342538 #573E5C #795681 #9973A1 #B497BA

Accessibility & contrast

On white

6.07
#795681 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#795681 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795681
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795681#FFFFFF#000000##FFFFFF
##7956811.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516083
Deuteranopia (green-blind)
#596480
Tritanopia (blue-blind)
#7A5B66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795681;
/* rgb */ color: rgb(121, 86, 129);
/* oklch */ color: oklch(50.6% 0.078 320.0);
Tailwind
colors: {
  custom: {
    50: '#a086a5',
    500: '#795681',
    950: '#000000',
  },
}
SCSS
$custom: #795681;
$custom-light: #a086a5;
$custom-dark: #000000;
JSON
{
  "hex": "#795681",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 129
  },
  "hsl": {
    "h": 288.837,
    "s": 20,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.07841,
    "h": 320
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#795681
secondary
#90A88B
accent
#BD6B7A
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795681

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

Preview Lab → · Contrast checker → · Palette generator →

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