#795489#795489

#795489 is a mid, moderate purple. Relative luminance 0.122; OKLCH L 50.6% C 0.092 H 315.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#795489
RGBrgb(121, 84, 137)
HSLhsl(282, 24%, 43%)
HSVhsv(282, 39%, 54%)
CMYKcmyk(11.7%, 38.7%, 0%, 46.3%)
CIE-LABlab(41.55, 25.52, -23.57)
CIE-LCHlch(41.55, 34.73, 317.28°)
OKLaboklab(50.64% 0.0654 -0.0648)
OKLCHoklch(50.64% 0.092 315.2)
XYZxyz(15.5701, 12.2121, 25.1990)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795489 #648954
analogous
#5E5489 #795489 #89547E
triadic
#795489 #897954 #548979
tetradic
#795489 #895E54 #648954 #547E89
square
#795489 #895E54 #648954 #547E89
split-complementary
#795489 #7E8954 #54895E
monochromatic
#36253D #573D63 #795489 #9872A8 #B498C0

Accessibility & contrast

On white

6.10
#795489 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#795489 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795489
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795489#FFFFFF#000000##FFFFFF
##7954891.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608B
Deuteranopia (green-blind)
#546387
Tritanopia (blue-blind)
#785B68
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795489;
/* rgb */ color: rgb(121, 84, 137);
/* oklch */ color: oklch(50.6% 0.092 315.2);
Tailwind
colors: {
  custom: {
    50: '#a085ab',
    500: '#795489',
    950: '#000000',
  },
}
SCSS
$custom: #795489;
$custom-light: #a085ab;
$custom-dark: #000000;
JSON
{
  "hex": "#795489",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 137
  },
  "hsl": {
    "h": 281.887,
    "s": 23.982,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50638,
    "c": 0.09209,
    "h": 315.2
  },
  "luminance": 0.12212
}

Semantic roles & 50–950 ramp

primary
#795489
secondary
#96AD8C
accent
#C06782
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B10
muted
#7E7C7F

Preview Lab

Preview with #795489

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

Preview Lab → · Contrast checker → · Palette generator →

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