#795EAE#795EAE

#795EAE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.4% C 0.123 H 297.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#795EAE
RGBrgb(121, 94, 174)
HSLhsl(260, 33%, 53%)
HSVhsv(260, 46%, 68%)
CMYKcmyk(30.5%, 46%, 0%, 31.8%)
CIE-LABlab(45.81, 28.62, -38.94)
CIE-LCHlch(45.81, 48.33, 306.31°)
OKLaboklab(54.44% 0.0575 -0.1093)
OKLCHoklch(54.44% 0.124 297.7)
XYZxyz(19.5260, 15.1261, 41.9271)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EAE #93AE5E
analogous
#5E6BAE #795EAE #A15EAE
triadic
#795EAE #AE795E #5EAE79
tetradic
#795EAE #AE5E6B #93AE5E #5EAEA1
square
#795EAE #AE5E6B #93AE5E #5EAEA1
split-complementary
#795EAE #AEA15E #6BAE5E
monochromatic
#413161 #5C458A #795EAE #9B87C2 #BDAFD7

Accessibility & contrast

On white

5.22
#795EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#795EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EAE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EAE#FFFFFF#000000##FFFFFF
##795EAE1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB1
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#6E6D7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795eae;
/* rgb */ color: rgb(121, 94, 174);
/* oklch */ color: oklch(54.4% 0.123 297.7);
Tailwind
colors: {
  custom: {
    50: '#a28cc6',
    500: '#795eae',
    950: '#000000',
  },
}
SCSS
$custom: #795eae;
$custom-light: #a28cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#795eae",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 260.25,
    "s": 33.058,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54441,
    "c": 0.1235,
    "h": 297.7
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#795EAE
secondary
#BAC5A3
accent
#C95FA5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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