#795693#795693

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

Color values

HEX#795693
RGBrgb(121, 86, 147)
HSLhsl(274, 26%, 46%)
HSVhsv(274, 41%, 58%)
CMYKcmyk(17.7%, 41.5%, 0%, 42.4%)
CIE-LABlab(42.50, 26.64, -28.12)
CIE-LCHlch(42.50, 38.73, 313.45°)
OKLaboklab(51.51% 0.0645 -0.0779)
OKLCHoklch(51.51% 0.101 309.6)
XYZxyz(16.4784, 12.8273, 29.2059)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795693 #709356
analogous
#5A5693 #795693 #93568E
triadic
#795693 #937956 #569379
tetradic
#795693 #935A56 #709356 #568E93
square
#795693 #935A56 #709356 #568E93
split-complementary
#795693 #8E9356 #56935A
monochromatic
#392946 #593F6C #795693 #9777AF #B59DC6

Accessibility & contrast

On white

5.89
#795693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795693
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795693#FFFFFF#000000##FFFFFF
##7956931.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496395
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#765F6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #795693;
/* rgb */ color: rgb(121, 86, 147);
/* oklch */ color: oklch(51.5% 0.101 309.6);
Tailwind
colors: {
  custom: {
    50: '#a186b3',
    500: '#795693',
    950: '#000000',
  },
}
SCSS
$custom: #795693;
$custom-light: #a186b3;
$custom-dark: #000000;
JSON
{
  "hex": "#795693",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 274.426,
    "s": 26.18,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.10116,
    "h": 309.6
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#795693
secondary
#A0B391
accent
#C3658D
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795693

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

Preview Lab → · Contrast checker → · Palette generator →

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