#795481#795481

#795481 is a mid, moderate purple. Relative luminance 0.120; OKLCH L 50.3% C 0.082 H 320.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#795481
RGBrgb(121, 84, 129)
HSLhsl(289, 21%, 42%)
HSVhsv(289, 35%, 51%)
CMYKcmyk(6.2%, 34.9%, 0%, 49.4%)
CIE-LABlab(41.20, 23.75, -19.25)
CIE-LCHlch(41.20, 30.57, 320.98°)
OKLaboklab(50.26% 0.0633 -0.0525)
OKLCHoklch(50.26% 0.082 320.3)
XYZxyz(15.0174, 11.9910, 22.2880)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795481 #5C8154
analogous
#635481 #795481 #815473
triadic
#795481 #817954 #548179
tetradic
#795481 #816354 #5C8154 #547381
square
#795481 #816354 #5C8154 #547381
split-complementary
#795481 #738154 #548163
monochromatic
#332437 #563C5C #795481 #9970A2 #B495BA

Accessibility & contrast

On white

6.18
#795481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#795481 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795481
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795481#FFFFFF#000000##FFFFFF
##7954811.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F83
Deuteranopia (green-blind)
#586380
Tritanopia (blue-blind)
#7A5965
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795481;
/* rgb */ color: rgb(121, 84, 129);
/* oklch */ color: oklch(50.3% 0.082 320.3);
Tailwind
colors: {
  custom: {
    50: '#a084a5',
    500: '#795481',
    950: '#000000',
  },
}
SCSS
$custom: #795481;
$custom-light: #a084a5;
$custom-dark: #000000;
JSON
{
  "hex": "#795481",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 289.333,
    "s": 21.127,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.08229,
    "h": 320.3
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#795481
secondary
#8FA889
accent
#BE6A79
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795481

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

Preview Lab → · Contrast checker → · Palette generator →

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