#795384#795384

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

Color values

HEX#795384
RGBrgb(121, 83, 132)
HSLhsl(287, 23%, 42%)
HSVhsv(287, 37%, 52%)
CMYKcmyk(8.3%, 37.1%, 0%, 48.2%)
CIE-LABlab(41.09, 25.00, -21.25)
CIE-LCHlch(41.09, 32.81, 319.63°)
OKLaboklab(50.21% 0.0658 -0.0582)
OKLCHoklch(50.21% 0.088 318.5)
XYZxyz(15.1427, 11.9178, 23.3280)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795384 #5E8453
analogous
#615384 #795384 #845377
triadic
#795384 #847953 #538479
tetradic
#795384 #846153 #5E8453 #537784
square
#795384 #846153 #5E8453 #537784
split-complementary
#795384 #778453 #538461
monochromatic
#342439 #573B5E #795384 #996FA5 #B495BC

Accessibility & contrast

On white

6.21
#795384 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795384
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795384#FFFFFF#000000##FFFFFF
##7953841.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E86
Deuteranopia (green-blind)
#566282
Tritanopia (blue-blind)
#795965
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795384;
/* rgb */ color: rgb(121, 83, 132);
/* oklch */ color: oklch(50.2% 0.088 318.5);
Tailwind
colors: {
  custom: {
    50: '#a084a8',
    500: '#795384',
    950: '#000000',
  },
}
SCSS
$custom: #795384;
$custom-light: #a084a8;
$custom-dark: #000000;
JSON
{
  "hex": "#795384",
  "rgb": {
    "r": 121,
    "g": 83,
    "b": 132
  },
  "hsl": {
    "h": 286.531,
    "s": 22.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.08783,
    "h": 318.5
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#795384
secondary
#90AA89
accent
#BF697C
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795384

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

Preview Lab → · Contrast checker → · Palette generator →

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