#795992#795992

#795992 is a mid, moderate violet. Relative luminance 0.133; OKLCH L 52.0% C 0.094 H 309.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#795992
RGBrgb(121, 89, 146)
HSLhsl(274, 24%, 46%)
HSVhsv(274, 39%, 57%)
CMYKcmyk(17.1%, 39%, 0%, 42.7%)
CIE-LABlab(43.19, 24.61, -26.44)
CIE-LCHlch(43.19, 36.12, 312.94°)
OKLaboklab(52.01% 0.0597 -0.0731)
OKLCHoklch(52.01% 0.094 309.2)
XYZxyz(16.6449, 13.2852, 28.8760)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795992 #729259
analogous
#5C5992 #795992 #92598E
triadic
#795992 #927959 #599279
tetradic
#795992 #925C59 #729259 #598E92
square
#795992 #925C59 #729259 #598E92
split-complementary
#795992 #8E9259 #59925C
monochromatic
#3A2B46 #59426C #795992 #977AAE #B5A0C5

Accessibility & contrast

On white

5.74
#795992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#795992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795992
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795992#FFFFFF#000000##FFFFFF
##7959921.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6594
Deuteranopia (green-blind)
#556790
Tritanopia (blue-blind)
#76616E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #795992;
/* rgb */ color: rgb(121, 89, 146);
/* oklch */ color: oklch(52.0% 0.094 309.2);
Tailwind
colors: {
  custom: {
    50: '#a088b2',
    500: '#795992',
    950: '#000000',
  },
}
SCSS
$custom: #795992;
$custom-light: #a088b2;
$custom-dark: #000000;
JSON
{
  "hex": "#795992",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 273.684,
    "s": 24.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.09437,
    "h": 309.2
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#795992
secondary
#A1B394
accent
#C1678E
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #795992

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

Preview Lab → · Contrast checker → · Palette generator →

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