#795490#795490

#795490 is a mid, moderate violet. Relative luminance 0.124; OKLCH L 51.0% C 0.101 H 311.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#795490
RGBrgb(121, 84, 144)
HSLhsl(277, 26%, 45%)
HSVhsv(277, 42%, 56%)
CMYKcmyk(16%, 41.7%, 0%, 43.5%)
CIE-LABlab(41.88, 27.12, -27.29)
CIE-LCHlch(41.88, 38.48, 314.82°)
OKLaboklab(50.99% 0.067 -0.0755)
OKLCHoklch(50.99% 0.101 311.6)
XYZxyz(16.0886, 12.4195, 27.9298)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795490 #6B9054
analogous
#5B5490 #795490 #905489
triadic
#795490 #907954 #549079
tetradic
#795490 #905B54 #6B9054 #548990
square
#795490 #905B54 #6B9054 #548990
split-complementary
#795490 #899054 #54905B
monochromatic
#382743 #593D69 #795490 #9774AE #B49AC4

Accessibility & contrast

On white

6.03
#795490 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#795490 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795490
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795490#FFFFFF#000000##FFFFFF
##7954901.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486192
Deuteranopia (green-blind)
#51648E
Tritanopia (blue-blind)
#775D6B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795490;
/* rgb */ color: rgb(121, 84, 144);
/* oklch */ color: oklch(51.0% 0.101 311.6);
Tailwind
colors: {
  custom: {
    50: '#a185b0',
    500: '#795490',
    950: '#000000',
  },
}
SCSS
$custom: #795490;
$custom-light: #a185b0;
$custom-dark: #000000;
JSON
{
  "hex": "#795490",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 277,
    "s": 26.316,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50989,
    "c": 0.10095,
    "h": 311.6
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#795490
secondary
#9CB18E
accent
#C36589
background
#FAF8FA
surface
#F3EFF5
border
#CDCACF
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #795490

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

Preview Lab → · Contrast checker → · Palette generator →

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