#795685#795685

#795685 is a mid, moderate purple. Relative luminance 0.124; OKLCH L 50.8% C 0.083 H 317.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#795685
RGBrgb(121, 86, 133)
HSLhsl(285, 21%, 43%)
HSVhsv(285, 35%, 52%)
CMYKcmyk(9%, 35.3%, 0%, 47.8%)
CIE-LABlab(41.87, 23.43, -20.65)
CIE-LCHlch(41.87, 31.23, 318.60°)
OKLaboklab(50.82% 0.0612 -0.0566)
OKLCHoklch(50.82% 0.083 317.2)
XYZxyz(15.4460, 12.4143, 23.7683)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795685 #628556
analogous
#615685 #795685 #855679
triadic
#795685 #857956 #568579
tetradic
#795685 #856156 #628556 #567985
square
#795685 #856156 #628556 #567985
split-complementary
#795685 #798556 #568561
monochromatic
#35263B #573E60 #795685 #9873A5 #B499BD

Accessibility & contrast

On white

6.03
#795685 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#795685 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795685
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795685#FFFFFF#000000##FFFFFF
##7956851.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6187
Deuteranopia (green-blind)
#586484
Tritanopia (blue-blind)
#795C67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795685;
/* rgb */ color: rgb(121, 86, 133);
/* oklch */ color: oklch(50.8% 0.083 317.2);
Tailwind
colors: {
  custom: {
    50: '#a086a8',
    500: '#795685',
    950: '#000000',
  },
}
SCSS
$custom: #795685;
$custom-light: #a086a8;
$custom-dark: #000000;
JSON
{
  "hex": "#795685",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 133
  },
  "hsl": {
    "h": 284.681,
    "s": 21.461,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.08331,
    "h": 317.2
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#795685
secondary
#94AA8C
accent
#BE6A7F
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795685

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

Preview Lab → · Contrast checker → · Palette generator →

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