#795694#795694

#795694 is a mid, moderate violet. Relative luminance 0.129; OKLCH L 51.6% C 0.102 H 309.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#795694
RGBrgb(121, 86, 148)
HSLhsl(274, 26%, 46%)
HSVhsv(274, 42%, 58%)
CMYKcmyk(18.2%, 41.9%, 0%, 42%)
CIE-LABlab(42.55, 26.88, -28.64)
CIE-LCHlch(42.55, 39.28, 313.18°)
OKLaboklab(51.56% 0.0647 -0.0794)
OKLCHoklch(51.56% 0.102 309.2)
XYZxyz(16.5572, 12.8589, 29.6210)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795694 #719456
analogous
#5A5694 #795694 #945690
triadic
#795694 #947956 #569479
tetradic
#795694 #945A56 #719456 #569094
square
#795694 #945A56 #719456 #569094
split-complementary
#795694 #909456 #56945A
monochromatic
#3A2947 #59406D #795694 #9777B0 #B59EC7

Accessibility & contrast

On white

5.88
#795694 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#795694 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795694
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795694#FFFFFF#000000##FFFFFF
##7956941.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496396
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#765F6E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #795694;
/* rgb */ color: rgb(121, 86, 148);
/* oklch */ color: oklch(51.6% 0.102 309.2);
Tailwind
colors: {
  custom: {
    50: '#a186b3',
    500: '#795694',
    950: '#000000',
  },
}
SCSS
$custom: #795694;
$custom-light: #a186b3;
$custom-dark: #000000;
JSON
{
  "hex": "#795694",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 148
  },
  "hsl": {
    "h": 273.871,
    "s": 26.496,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.10246,
    "h": 309.2
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#795694
secondary
#A1B492
accent
#C3658E
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795694

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

Preview Lab → · Contrast checker → · Palette generator →

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