#795692#795692

#795692 is a mid, moderate violet. Relative luminance 0.128; OKLCH L 51.5% C 0.100 H 310.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#795692
RGBrgb(121, 86, 146)
HSLhsl(275, 26%, 45%)
HSVhsv(275, 41%, 57%)
CMYKcmyk(17.1%, 41.1%, 0%, 42.7%)
CIE-LABlab(42.45, 26.40, -27.59)
CIE-LCHlch(42.45, 38.19, 313.74°)
OKLaboklab(51.46% 0.0643 -0.0764)
OKLCHoklch(51.46% 0.1 310.1)
XYZxyz(16.4003, 12.7961, 28.7945)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795692 #6F9256
analogous
#5B5692 #795692 #92568D
triadic
#795692 #927956 #569279
tetradic
#795692 #925B56 #6F9256 #568D92
square
#795692 #925B56 #6F9256 #568D92
split-complementary
#795692 #8D9256 #56925B
monochromatic
#392945 #593F6B #795692 #9777AF #B59DC5

Accessibility & contrast

On white

5.90
#795692 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#795692 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795692
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795692#FFFFFF#000000##FFFFFF
##7956921.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6394
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#765F6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #795692;
/* rgb */ color: rgb(121, 86, 146);
/* oklch */ color: oklch(51.5% 0.100 310.1);
Tailwind
colors: {
  custom: {
    50: '#a186b2',
    500: '#795692',
    950: '#000000',
  },
}
SCSS
$custom: #795692;
$custom-light: #a186b2;
$custom-dark: #000000;
JSON
{
  "hex": "#795692",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 146
  },
  "hsl": {
    "h": 275,
    "s": 25.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.09986,
    "h": 310.1
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#795692
secondary
#9FB391
accent
#C2668C
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795692

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

Preview Lab → · Contrast checker → · Palette generator →

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