#795DA7#795DA7

#795DA7 is a mid, moderate violet. Relative luminance 0.147; OKLCH L 53.9% C 0.116 H 300.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#795DA7
RGBrgb(121, 93, 167)
HSLhsl(263, 30%, 51%)
HSVhsv(263, 44%, 65%)
CMYKcmyk(27.5%, 44.3%, 0%, 34.5%)
CIE-LABlab(45.20, 27.40, -35.79)
CIE-LCHlch(45.20, 45.07, 307.44°)
OKLaboklab(53.86% 0.0578 -0.1001)
OKLCHoklch(53.86% 0.116 300)
XYZxyz(18.7730, 14.6836, 38.3969)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DA7 #8BA75D
analogous
#5D66A7 #795DA7 #9E5DA7
triadic
#795DA7 #A7795D #5DA779
tetradic
#795DA7 #A75D66 #8BA75D #5DA79E
square
#795DA7 #A75D66 #8BA75D #5DA79E
split-complementary
#795DA7 #A79E5D #66A75D
monochromatic
#403059 #5C4681 #795DA7 #9A85BD #BBACD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795DA7#FFFFFF#000000##FFFFFF
##795DA71.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)
#486BAA
Deuteranopia (green-blind)
#4E6AA5
Tritanopia (blue-blind)
#706A7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795da7;
/* rgb */ color: rgb(121, 93, 167);
/* oklch */ color: oklch(53.9% 0.116 300.0);
Tailwind
colors: {
  custom: {
    50: '#a18bc1',
    500: '#795da7',
    950: '#000000',
  },
}
SCSS
$custom: #795da7;
$custom-light: #a18bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#795da7",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 262.703,
    "s": 29.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.11562,
    "h": 300
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#795DA7
secondary
#B4C0A0
accent
#C662A0
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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