#795697#795697

#795697 is a mid, moderate violet. Relative luminance 0.130; OKLCH L 51.7% C 0.106 H 307.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#795697
RGBrgb(121, 86, 151)
HSLhsl(272, 27%, 46%)
HSVhsv(272, 43%, 59%)
CMYKcmyk(19.9%, 43%, 0%, 40.8%)
CIE-LABlab(42.70, 27.59, -30.21)
CIE-LCHlch(42.70, 40.92, 312.40°)
OKLaboklab(51.72% 0.0653 -0.084)
OKLCHoklch(51.72% 0.106 307.9)
XYZxyz(16.7978, 12.9551, 30.8878)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795697 #749756
analogous
#595697 #795697 #975695
triadic
#795697 #977956 #569779
tetradic
#795697 #975956 #749756 #569597
square
#795697 #975956 #749756 #569597
split-complementary
#795697 #959756 #569759
monochromatic
#3B2A49 #5A4070 #795697 #9778B2 #B59FC8

Accessibility & contrast

On white

5.85
#795697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#795697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795697
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795697#FFFFFF#000000##FFFFFF
##7956971.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476399
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#75606F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #795697;
/* rgb */ color: rgb(121, 86, 151);
/* oklch */ color: oklch(51.7% 0.106 307.9);
Tailwind
colors: {
  custom: {
    50: '#a186b6',
    500: '#795697',
    950: '#000000',
  },
}
SCSS
$custom: #795697;
$custom-light: #a186b6;
$custom-dark: #000000;
JSON
{
  "hex": "#795697",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 272.308,
    "s": 27.426,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.10638,
    "h": 307.9
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#795697
secondary
#A3B693
accent
#C46490
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795697

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

Preview Lab → · Contrast checker → · Palette generator →

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