#795488#795488

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

Color values

HEX#795488
RGBrgb(121, 84, 136)
HSLhsl(283, 24%, 43%)
HSVhsv(283, 38%, 53%)
CMYKcmyk(11%, 38.2%, 0%, 46.7%)
CIE-LABlab(41.51, 25.29, -23.03)
CIE-LCHlch(41.51, 34.21, 317.68°)
OKLaboklab(50.59% 0.0652 -0.0633)
OKLCHoklch(50.59% 0.091 315.8)
XYZxyz(15.4987, 12.1835, 24.8230)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795488 #638854
analogous
#5F5488 #795488 #88547D
triadic
#795488 #887954 #548879
tetradic
#795488 #885F54 #638854 #547D88
square
#795488 #885F54 #638854 #547D88
split-complementary
#795488 #7D8854 #54885F
monochromatic
#36253C #573D62 #795488 #9872A8 #B497BF

Accessibility & contrast

On white

6.11
#795488 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795488
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795488#FFFFFF#000000##FFFFFF
##7954881.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608A
Deuteranopia (green-blind)
#556386
Tritanopia (blue-blind)
#785B67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795488;
/* rgb */ color: rgb(121, 84, 136);
/* oklch */ color: oklch(50.6% 0.091 315.8);
Tailwind
colors: {
  custom: {
    50: '#a085ab',
    500: '#795488',
    950: '#000000',
  },
}
SCSS
$custom: #795488;
$custom-light: #a085ab;
$custom-dark: #000000;
JSON
{
  "hex": "#795488",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 282.692,
    "s": 23.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.09084,
    "h": 315.8
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#795488
secondary
#95AC8C
accent
#C06881
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B10
muted
#7E7C7F

Preview Lab

Preview with #795488

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

Preview Lab → · Contrast checker → · Palette generator →

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