#795689#795689

#795689 is a mid, moderate purple. Relative luminance 0.125; OKLCH L 51.0% C 0.088 H 314.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#795689
RGBrgb(121, 86, 137)
HSLhsl(281, 23%, 44%)
HSVhsv(281, 37%, 54%)
CMYKcmyk(11.7%, 37.2%, 0%, 46.3%)
CIE-LABlab(42.04, 24.32, -22.81)
CIE-LCHlch(42.04, 33.34, 316.84°)
OKLaboklab(51.01% 0.0622 -0.0627)
OKLCHoklch(51.01% 0.088 314.8)
XYZxyz(15.7276, 12.5270, 25.2515)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795689 #668956
analogous
#5F5689 #795689 #89567F
triadic
#795689 #897956 #568979
tetradic
#795689 #895F56 #668956 #567F89
square
#795689 #895F56 #668956 #567F89
split-complementary
#795689 #7F8956 #56895F
monochromatic
#37273E #583E63 #795689 #9874A8 #B49AC0

Accessibility & contrast

On white

5.99
#795689 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#795689 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795689
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795689#FFFFFF#000000##FFFFFF
##7956891.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E618B
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#785D69
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795689;
/* rgb */ color: rgb(121, 86, 137);
/* oklch */ color: oklch(51.0% 0.088 314.8);
Tailwind
colors: {
  custom: {
    50: '#a086ab',
    500: '#795689',
    950: '#000000',
  },
}
SCSS
$custom: #795689;
$custom-light: #a086ab;
$custom-dark: #000000;
JSON
{
  "hex": "#795689",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 137
  },
  "hsl": {
    "h": 281.176,
    "s": 22.87,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.08832,
    "h": 314.8
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#795689
secondary
#98AD8E
accent
#BF6884
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B10
muted
#7E7C7F

Preview Lab

Preview with #795689

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

Preview Lab → · Contrast checker → · Palette generator →

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