#795995#795995

#795995 is a mid, moderate violet. Relative luminance 0.134; OKLCH L 52.2% C 0.098 H 307.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#795995
RGBrgb(121, 89, 149)
HSLhsl(272, 25%, 47%)
HSVhsv(272, 40%, 58%)
CMYKcmyk(18.8%, 40.3%, 0%, 41.6%)
CIE-LABlab(43.33, 25.32, -28.02)
CIE-LCHlch(43.33, 37.77, 312.10°)
OKLaboklab(52.16% 0.0603 -0.0777)
OKLCHoklch(52.16% 0.098 307.8)
XYZxyz(16.8813, 13.3798, 30.1212)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795995 #759559
analogous
#5B5995 #795995 #955993
triadic
#795995 #957959 #599579
tetradic
#795995 #955B59 #759559 #599395
square
#795995 #955B59 #759559 #599395
split-complementary
#795995 #939559 #59955B
monochromatic
#3B2B48 #5A426F #795995 #977BB0 #B5A1C7

Accessibility & contrast

On white

5.71
#795995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#795995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795995
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795995#FFFFFF#000000##FFFFFF
##7959951.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6597
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#756270
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #795995;
/* rgb */ color: rgb(121, 89, 149);
/* oklch */ color: oklch(52.2% 0.098 307.8);
Tailwind
colors: {
  custom: {
    50: '#a188b4',
    500: '#795995',
    950: '#000000',
  },
}
SCSS
$custom: #795995;
$custom-light: #a188b4;
$custom-dark: #000000;
JSON
{
  "hex": "#795995",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 272,
    "s": 25.21,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.09834,
    "h": 307.8
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#795995
secondary
#A4B595
accent
#C26691
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795995

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

Preview Lab → · Contrast checker → · Palette generator →

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