#795C92#795C92

#795C92 is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.6% C 0.089 H 308.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#795C92
RGBrgb(121, 92, 146)
HSLhsl(272, 23%, 47%)
HSVhsv(272, 37%, 57%)
CMYKcmyk(17.1%, 37%, 0%, 42.7%)
CIE-LABlab(43.94, 22.81, -25.28)
CIE-LCHlch(43.94, 34.05, 312.06°)
OKLaboklab(52.58% 0.055 -0.0698)
OKLCHoklch(52.58% 0.089 308.2)
XYZxyz(16.8996, 13.7947, 28.9609)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795C92 #75925C
analogous
#5E5C92 #795C92 #925C90
triadic
#795C92 #92795C #5C9279
tetradic
#795C92 #925E5C #75925C #5C9092
square
#795C92 #925E5C #75925C #5C9092
split-complementary
#795C92 #90925C #5C925E
monochromatic
#3B2D47 #5A446C #795C92 #977EAE #B5A3C5

Accessibility & contrast

On white

5.59
#795C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#795C92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795C92
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795C92#FFFFFF#000000##FFFFFF
##795C921.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516794
Deuteranopia (green-blind)
#586890
Tritanopia (blue-blind)
#766470
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795c92;
/* rgb */ color: rgb(121, 92, 146);
/* oklch */ color: oklch(52.6% 0.089 308.2);
Tailwind
colors: {
  custom: {
    50: '#a08ab2',
    500: '#795c92',
    950: '#000000',
  },
}
SCSS
$custom: #795c92;
$custom-light: #a08ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#795c92",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 146
  },
  "hsl": {
    "h": 272.222,
    "s": 22.689,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.08886,
    "h": 308.2
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#795C92
secondary
#A4B397
accent
#BF6991
background
#F9F8FA
surface
#F2F0F5
border
#CCCBCF
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #795C92

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

Preview Lab → · Contrast checker → · Palette generator →

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