#795288#795288

#795288 is a mid, moderate purple. Relative luminance 0.119; OKLCH L 50.2% C 0.095 H 316.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#795288
RGBrgb(121, 82, 136)
HSLhsl(283, 25%, 43%)
HSVhsv(283, 40%, 53%)
CMYKcmyk(11%, 39.7%, 0%, 46.7%)
CIE-LABlab(41.02, 26.48, -23.78)
CIE-LCHlch(41.02, 35.59, 318.07°)
OKLaboklab(50.22% 0.0683 -0.0654)
OKLCHoklch(50.22% 0.095 316.2)
XYZxyz(15.3457, 11.8775, 24.7720)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795288 #618852
analogous
#5E5288 #795288 #88527C
triadic
#795288 #887952 #528879
tetradic
#795288 #885E52 #618852 #527C88
square
#795288 #885E52 #618852 #527C88
split-complementary
#795288 #7C8852 #52885E
monochromatic
#35243C #573B62 #795288 #986FA8 #B495BF

Accessibility & contrast

On white

6.22
#795288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#795288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795288
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795288#FFFFFF#000000##FFFFFF
##7952881.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E8A
Deuteranopia (green-blind)
#536286
Tritanopia (blue-blind)
#795966
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795288;
/* rgb */ color: rgb(121, 82, 136);
/* oklch */ color: oklch(50.2% 0.095 316.2);
Tailwind
colors: {
  custom: {
    50: '#a083ab',
    500: '#795288',
    950: '#000000',
  },
}
SCSS
$custom: #795288;
$custom-light: #a083ab;
$custom-dark: #000000;
JSON
{
  "hex": "#795288",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 283.333,
    "s": 24.771,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.09463,
    "h": 316.2
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#795288
secondary
#93AC8A
accent
#C16780
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0A10
muted
#7E7C7F

Preview Lab

Preview with #795288

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

Preview Lab → · Contrast checker → · Palette generator →

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