#795494#795494

#795494 is a mid, moderate violet. Relative luminance 0.125; OKLCH L 51.2% C 0.106 H 309.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#795494
RGBrgb(121, 84, 148)
HSLhsl(275, 28%, 45%)
HSVhsv(275, 43%, 58%)
CMYKcmyk(18.2%, 43.2%, 0%, 42%)
CIE-LABlab(42.07, 28.07, -29.40)
CIE-LCHlch(42.07, 40.64, 313.67°)
OKLaboklab(51.2% 0.0678 -0.0816)
OKLCHoklch(51.2% 0.106 309.7)
XYZxyz(16.3998, 12.5439, 29.5685)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795494 #6F9454
analogous
#595494 #795494 #94548F
triadic
#795494 #947954 #549479
tetradic
#795494 #945954 #6F9454 #548F94
square
#795494 #945954 #6F9454 #548F94
split-complementary
#795494 #8F9454 #549459
monochromatic
#392846 #593E6D #795494 #9775B1 #B59CC7

Accessibility & contrast

On white

5.98
#795494 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#795494 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795494
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795494#FFFFFF#000000##FFFFFF
##7954941.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466296
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#765E6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795494;
/* rgb */ color: rgb(121, 84, 148);
/* oklch */ color: oklch(51.2% 0.106 309.7);
Tailwind
colors: {
  custom: {
    50: '#a185b3',
    500: '#795494',
    950: '#000000',
  },
}
SCSS
$custom: #795494;
$custom-light: #a185b3;
$custom-dark: #000000;
JSON
{
  "hex": "#795494",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 274.688,
    "s": 27.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51197,
    "c": 0.10608,
    "h": 309.7
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#795494
secondary
#9FB490
accent
#C4648C
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795494

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

Preview Lab → · Contrast checker → · Palette generator →

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