#795486#795486

#795486 is a mid, moderate purple. Relative luminance 0.121; OKLCH L 50.5% C 0.088 H 317.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#795486
RGBrgb(121, 84, 134)
HSLhsl(284, 23%, 43%)
HSVhsv(284, 37%, 53%)
CMYKcmyk(9.7%, 37.3%, 0%, 47.5%)
CIE-LABlab(41.42, 24.84, -21.95)
CIE-LCHlch(41.42, 33.15, 318.53°)
OKLaboklab(50.49% 0.0647 -0.0602)
OKLCHoklch(50.49% 0.088 317)
XYZxyz(15.3579, 12.1272, 24.0814)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795486 #618654
analogous
#605486 #795486 #86547A
triadic
#795486 #867954 #548679
tetradic
#795486 #866054 #618654 #547A86
square
#795486 #866054 #618654 #547A86
split-complementary
#795486 #7A8654 #548660
monochromatic
#35253B #573C60 #795486 #9871A6 #B497BE

Accessibility & contrast

On white

6.13
#795486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#795486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795486
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795486#FFFFFF#000000##FFFFFF
##7954861.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5F88
Deuteranopia (green-blind)
#566384
Tritanopia (blue-blind)
#795A67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795486;
/* rgb */ color: rgb(121, 84, 134);
/* oklch */ color: oklch(50.5% 0.088 317.0);
Tailwind
colors: {
  custom: {
    50: '#a085a9',
    500: '#795486',
    950: '#000000',
  },
}
SCSS
$custom: #795486;
$custom-light: #a085a9;
$custom-dark: #000000;
JSON
{
  "hex": "#795486",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 284.4,
    "s": 22.936,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.08837,
    "h": 317
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#795486
secondary
#93AB8B
accent
#BF687F
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B10
muted
#7E7C7F

Preview Lab

Preview with #795486

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

Preview Lab → · Contrast checker → · Palette generator →

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