#795F94#795F94

#795F94 is a mid, moderate violet. Relative luminance 0.144; OKLCH L 53.3% C 0.086 H 306.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#795F94
RGBrgb(121, 95, 148)
HSLhsl(269, 22%, 48%)
HSVhsv(269, 36%, 58%)
CMYKcmyk(18.2%, 35.8%, 0%, 42%)
CIE-LABlab(44.78, 21.48, -25.16)
CIE-LCHlch(44.78, 33.08, 310.49°)
OKLaboklab(53.25% 0.0508 -0.0695)
OKLCHoklch(53.25% 0.086 306.2)
XYZxyz(17.3216, 14.3876, 29.8758)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F94 #7A945F
analogous
#5F5F94 #795F94 #945F94
triadic
#795F94 #94795F #5F9479
tetradic
#795F94 #945F5F #7A945F #5F9494
square
#795F94 #945F5F #7A945F #5F9494
split-complementary
#795F94 #94945F #5F945F
monochromatic
#3C2F49 #5B476F #795F94 #9882AF #B6A7C6

Accessibility & contrast

On white

5.42
#795F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#795F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795F94
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795F94#FFFFFF#000000##FFFFFF
##795F941.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546996
Deuteranopia (green-blind)
#5A6A92
Tritanopia (blue-blind)
#756773
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795f94;
/* rgb */ color: rgb(121, 95, 148);
/* oklch */ color: oklch(53.3% 0.086 306.2);
Tailwind
colors: {
  custom: {
    50: '#a08cb3',
    500: '#795f94',
    950: '#000000',
  },
}
SCSS
$custom: #795f94;
$custom-light: #a08cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#795f94",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 269.434,
    "s": 21.811,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.08608,
    "h": 306.2
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#795F94
secondary
#A8B59A
accent
#BE6995
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #795F94

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

Preview Lab → · Contrast checker → · Palette generator →

#795F94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva