#795E95#795E95

#795E95 is a mid, moderate violet. Relative luminance 0.142; OKLCH L 53.1% C 0.089 H 306.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#795E95
RGBrgb(121, 94, 149)
HSLhsl(269, 23%, 48%)
HSVhsv(269, 37%, 58%)
CMYKcmyk(18.8%, 36.9%, 0%, 41.6%)
CIE-LABlab(44.58, 22.32, -26.08)
CIE-LCHlch(44.58, 34.33, 310.56°)
OKLaboklab(53.11% 0.0526 -0.0721)
OKLCHoklch(53.11% 0.089 306.1)
XYZxyz(17.3116, 14.2404, 30.2646)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E95 #7A955E
analogous
#5E5E95 #795E95 #955E95
triadic
#795E95 #95795E #5E9579
tetradic
#795E95 #955E5E #7A955E #5E9595
square
#795E95 #955E5E #7A955E #5E9595
split-complementary
#795E95 #95955E #5E955E
monochromatic
#3C2F4A #5B466F #795E95 #9881AF #B6A6C7

Accessibility & contrast

On white

5.46
#795E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#795E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795E95
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E95#FFFFFF#000000##FFFFFF
##795E951.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526897
Deuteranopia (green-blind)
#586A93
Tritanopia (blue-blind)
#756672
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795e95;
/* rgb */ color: rgb(121, 94, 149);
/* oklch */ color: oklch(53.1% 0.089 306.1);
Tailwind
colors: {
  custom: {
    50: '#a08cb4',
    500: '#795e95',
    950: '#000000',
  },
}
SCSS
$custom: #795e95;
$custom-light: #a08cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#795e95",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 269.455,
    "s": 22.634,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.08927,
    "h": 306.1
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795E95

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

Preview Lab → · Contrast checker → · Palette generator →

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