#795CAE#795CAE

#795CAE is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.1% C 0.127 H 298.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#795CAE
RGBrgb(121, 92, 174)
HSLhsl(261, 34%, 52%)
HSVhsv(261, 47%, 68%)
CMYKcmyk(30.5%, 47.1%, 0%, 31.8%)
CIE-LABlab(45.32, 29.81, -39.70)
CIE-LCHlch(45.32, 49.65, 306.90°)
OKLaboklab(54.08% 0.0603 -0.1115)
OKLCHoklch(54.08% 0.127 298.4)
XYZxyz(19.3505, 14.7751, 41.8686)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CAE #91AE5C
analogous
#5C68AE #795CAE #A25CAE
triadic
#795CAE #AE795C #5CAE79
tetradic
#795CAE #AE5C68 #91AE5C #5CAEA2
square
#795CAE #AE5C68 #91AE5C #5CAEA2
split-complementary
#795CAE #AEA25C #68AE5C
monochromatic
#413060 #5C4489 #795CAE #9B85C2 #BCAED7

Accessibility & contrast

On white

5.31
#795CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#795CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CAE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CAE#FFFFFF#000000##FFFFFF
##795CAE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#6E6B7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795cae;
/* rgb */ color: rgb(121, 92, 174);
/* oklch */ color: oklch(54.1% 0.127 298.4);
Tailwind
colors: {
  custom: {
    50: '#a28ac6',
    500: '#795cae',
    950: '#000000',
  },
}
SCSS
$custom: #795cae;
$custom-light: #a28ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#795cae",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 261.22,
    "s": 33.607,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.12679,
    "h": 298.4
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#795CAE
secondary
#B8C5A1
accent
#CA5EA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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