#795DAE#795DAE

#795DAE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.3% C 0.125 H 298.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#795DAE
RGBrgb(121, 93, 174)
HSLhsl(261, 33%, 52%)
HSVhsv(261, 47%, 68%)
CMYKcmyk(30.5%, 46.6%, 0%, 31.8%)
CIE-LABlab(45.56, 29.22, -39.32)
CIE-LCHlch(45.56, 48.99, 306.61°)
OKLaboklab(54.26% 0.0589 -0.1104)
OKLCHoklch(54.26% 0.125 298.1)
XYZxyz(19.4377, 14.9495, 41.8977)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DAE #92AE5D
analogous
#5D6AAE #795DAE #A25DAE
triadic
#795DAE #AE795D #5DAE79
tetradic
#795DAE #AE5D6A #92AE5D #5DAEA2
square
#795DAE #AE5D6A #92AE5D #5DAEA2
split-complementary
#795DAE #AEA25D #6AAE5D
monochromatic
#413060 #5C4589 #795DAE #9B86C2 #BCAFD7

Accessibility & contrast

On white

5.26
#795DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#795DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DAE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DAE#FFFFFF#000000##FFFFFF
##795DAE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446CB1
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#6E6C7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795dae;
/* rgb */ color: rgb(121, 93, 174);
/* oklch */ color: oklch(54.3% 0.125 298.1);
Tailwind
colors: {
  custom: {
    50: '#a28bc6',
    500: '#795dae',
    950: '#000000',
  },
}
SCSS
$custom: #795dae;
$custom-light: #a28bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#795dae",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 260.741,
    "s": 33.333,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.12515,
    "h": 298.1
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#795DAE
secondary
#B9C5A2
accent
#C95EA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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