#795CAC#795CAC

#795CAC is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.0% C 0.124 H 298.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#795CAC
RGBrgb(121, 92, 172)
HSLhsl(262, 33%, 52%)
HSVhsv(262, 47%, 67%)
CMYKcmyk(29.7%, 46.5%, 0%, 32.5%)
CIE-LABlab(45.22, 29.29, -38.70)
CIE-LCHlch(45.22, 48.53, 307.12°)
OKLaboklab(53.96% 0.06 -0.1086)
OKLCHoklch(53.96% 0.124 298.9)
XYZxyz(19.1569, 14.6976, 40.8494)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CAC #8FAC5C
analogous
#5C67AC #795CAC #A15CAC
triadic
#795CAC #AC795C #5CAC79
tetradic
#795CAC #AC5C67 #8FAC5C #5CACA1
square
#795CAC #AC5C67 #8FAC5C #5CACA1
split-complementary
#795CAC #ACA15C #67AC5C
monochromatic
#40305E #5C4486 #795CAC #9A85C1 #BCADD5

Accessibility & contrast

On white

5.33
#795CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#795CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CAC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CAC#FFFFFF#000000##FFFFFF
##795CAC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#6F6A7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795cac;
/* rgb */ color: rgb(121, 92, 172);
/* oklch */ color: oklch(54.0% 0.124 298.9);
Tailwind
colors: {
  custom: {
    50: '#a28ac5',
    500: '#795cac',
    950: '#000000',
  },
}
SCSS
$custom: #795cac;
$custom-light: #a28ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#795cac",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 261.75,
    "s": 32.52,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.12409,
    "h": 298.9
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#795CAC
secondary
#B7C3A0
accent
#C95FA2
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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