#795BAD#795BAD

#795BAD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 53.8% C 0.127 H 299.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#795BAD
RGBrgb(121, 91, 173)
HSLhsl(262, 33%, 52%)
HSVhsv(262, 47%, 68%)
CMYKcmyk(30.1%, 47.4%, 0%, 32.2%)
CIE-LABlab(45.03, 30.14, -39.58)
CIE-LCHlch(45.03, 49.75, 307.29°)
OKLaboklab(53.84% 0.0615 -0.1112)
OKLCHoklch(53.84% 0.127 299)
XYZxyz(19.1673, 14.5641, 41.3284)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BAD #8FAD5B
analogous
#5B66AD #795BAD #A25BAD
triadic
#795BAD #AD795B #5BAD79
tetradic
#795BAD #AD5B66 #8FAD5B #5BADA2
square
#795BAD #AD5B66 #8FAD5B #5BADA2
split-complementary
#795BAD #ADA25B #66AD5B
monochromatic
#402F5E #5C4487 #795BAD #9A84C1 #BCADD6

Accessibility & contrast

On white

5.37
#795BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795BAD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BAD#FFFFFF#000000##FFFFFF
##795BAD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB0
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#6E6A7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795bad;
/* rgb */ color: rgb(121, 91, 173);
/* oklch */ color: oklch(53.8% 0.127 299.0);
Tailwind
colors: {
  custom: {
    50: '#a28ac6',
    500: '#795bad',
    950: '#000000',
  },
}
SCSS
$custom: #795bad;
$custom-light: #a28ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#795bad",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 261.951,
    "s": 33.333,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.12708,
    "h": 299
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#795BAD
secondary
#B7C4A0
accent
#C95EA2
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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