#795DA4#795DA4

#795DA4 is a mid, moderate violet. Relative luminance 0.146; OKLCH L 53.7% C 0.112 H 300.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#795DA4
RGBrgb(121, 93, 164)
HSLhsl(264, 28%, 50%)
HSVhsv(264, 43%, 64%)
CMYKcmyk(26.2%, 43.3%, 0%, 35.7%)
CIE-LABlab(45.05, 26.64, -34.26)
CIE-LCHlch(45.05, 43.39, 307.87°)
OKLaboklab(53.7% 0.0573 -0.0957)
OKLCHoklch(53.7% 0.112 300.9)
XYZxyz(18.4988, 14.5739, 36.9532)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DA4 #88A45D
analogous
#5D64A4 #795DA4 #9C5DA4
triadic
#795DA4 #A4795D #5DA479
tetradic
#795DA4 #A45D64 #88A45D #5DA49C
square
#795DA4 #A45D64 #88A45D #5DA49C
split-complementary
#795DA4 #A49C5D #64A45D
monochromatic
#3F3056 #5C467D #795DA4 #9984BA #BAABD0

Accessibility & contrast

On white

5.36
#795DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#795DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DA4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DA4#FFFFFF#000000##FFFFFF
##795DA41.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA7
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#716978
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795da4;
/* rgb */ color: rgb(121, 93, 164);
/* oklch */ color: oklch(53.7% 0.112 300.9);
Tailwind
colors: {
  custom: {
    50: '#a18bbf',
    500: '#795da4',
    950: '#000000',
  },
}
SCSS
$custom: #795da4;
$custom-light: #a18bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#795da4",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 164
  },
  "hsl": {
    "h": 263.662,
    "s": 28.063,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.11154,
    "h": 300.9
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#795DA4
secondary
#B2BE9F
accent
#C4639E
background
#FAF8FB
surface
#F3F0F7
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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