#795484#795484

#795484 is a mid, moderate purple. Relative luminance 0.121; OKLCH L 50.4% C 0.086 H 318.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#795484
RGBrgb(121, 84, 132)
HSLhsl(286, 22%, 42%)
HSVhsv(286, 36%, 52%)
CMYKcmyk(8.3%, 36.4%, 0%, 48.2%)
CIE-LABlab(41.33, 24.40, -20.87)
CIE-LCHlch(41.33, 32.11, 319.46°)
OKLaboklab(50.4% 0.0641 -0.0572)
OKLCHoklch(50.4% 0.086 318.3)
XYZxyz(15.2198, 12.0719, 23.3537)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795484 #5F8454
analogous
#615484 #795484 #845477
triadic
#795484 #847954 #548479
tetradic
#795484 #846154 #5F8454 #547784
square
#795484 #846154 #5F8454 #547784
split-complementary
#795484 #778454 #548461
monochromatic
#342439 #573C5F #795484 #9971A4 #B496BC

Accessibility & contrast

On white

6.15
#795484 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#795484 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795484
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795484#FFFFFF#000000##FFFFFF
##7954841.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5F86
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#795A66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795484;
/* rgb */ color: rgb(121, 84, 132);
/* oklch */ color: oklch(50.4% 0.086 318.3);
Tailwind
colors: {
  custom: {
    50: '#a084a8',
    500: '#795484',
    950: '#000000',
  },
}
SCSS
$custom: #795484;
$custom-light: #a084a8;
$custom-dark: #000000;
JSON
{
  "hex": "#795484",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 132
  },
  "hsl": {
    "h": 286.25,
    "s": 22.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50398,
    "c": 0.08592,
    "h": 318.3
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#795484
secondary
#91AA8A
accent
#BF697D
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795484

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

Preview Lab → · Contrast checker → · Palette generator →

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