#795F90#795F90

#795F90 is a mid, moderate violet. Relative luminance 0.143; OKLCH L 53.1% C 0.081 H 308.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#795F90
RGBrgb(121, 95, 144)
HSLhsl(272, 21%, 47%)
HSVhsv(272, 34%, 56%)
CMYKcmyk(16%, 34%, 0%, 43.5%)
CIE-LABlab(44.61, 20.53, -23.04)
CIE-LCHlch(44.61, 30.86, 311.70°)
OKLaboklab(53.06% 0.0498 -0.0634)
OKLCHoklch(53.06% 0.081 308.1)
XYZxyz(17.0105, 14.2631, 28.2371)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F90 #76905F
analogous
#615F90 #795F90 #905F8F
triadic
#795F90 #90795F #5F9079
tetradic
#795F90 #90615F #76905F #5F8F90
square
#795F90 #90615F #76905F #5F8F90
split-complementary
#795F90 #8F905F #5F9061
monochromatic
#3B2E46 #5A476B #795F90 #9781AC #B6A5C4

Accessibility & contrast

On white

5.45
#795F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795F90
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795F90#FFFFFF#000000##FFFFFF
##795F901.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566892
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#766671
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795f90;
/* rgb */ color: rgb(121, 95, 144);
/* oklch */ color: oklch(53.1% 0.081 308.1);
Tailwind
colors: {
  custom: {
    50: '#a08cb0',
    500: '#795f90',
    950: '#000000',
  },
}
SCSS
$custom: #795f90;
$custom-light: #a08cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#795f90",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 144
  },
  "hsl": {
    "h": 271.837,
    "s": 20.502,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5306,
    "c": 0.08063,
    "h": 308.1
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#795F90
secondary
#A5B299
accent
#BD6B91
background
#F9F8FA
surface
#F2F0F5
border
#CCCBCF
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795F90

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

Preview Lab → · Contrast checker → · Palette generator →

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