#795DA1#795DA1

#795DA1 is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.5% C 0.107 H 301.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#795DA1
RGBrgb(121, 93, 161)
HSLhsl(265, 27%, 50%)
HSVhsv(265, 42%, 63%)
CMYKcmyk(24.8%, 42.2%, 0%, 36.9%)
CIE-LABlab(44.90, 25.88, -32.72)
CIE-LCHlch(44.90, 41.71, 308.34°)
OKLaboklab(53.54% 0.0567 -0.0912)
OKLCHoklch(53.54% 0.107 301.9)
XYZxyz(18.2311, 14.4668, 35.5432)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DA1 #85A15D
analogous
#5D63A1 #795DA1 #9B5DA1
triadic
#795DA1 #A1795D #5DA179
tetradic
#795DA1 #A15D63 #85A15D #5DA19B
square
#795DA1 #A15D63 #85A15D #5DA19B
split-complementary
#795DA1 #A19B5D #63A15D
monochromatic
#3F3053 #5C477A #795DA1 #9984B8 #B9AACE

Accessibility & contrast

On white

5.39
#795DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#795DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DA1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DA1#FFFFFF#000000##FFFFFF
##795DA11.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA4
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#726877
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795da1;
/* rgb */ color: rgb(121, 93, 161);
/* oklch */ color: oklch(53.5% 0.107 301.9);
Tailwind
colors: {
  custom: {
    50: '#a18bbd',
    500: '#795da1',
    950: '#000000',
  },
}
SCSS
$custom: #795da1;
$custom-light: #a18bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#795da1",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 161
  },
  "hsl": {
    "h": 264.706,
    "s": 26.772,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53536,
    "c": 0.10744,
    "h": 301.9
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#795DA1
secondary
#B0BC9E
accent
#C3659C
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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