#795AAA#795AAA

#795AAA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.5% C 0.125 H 300.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#795AAA
RGBrgb(121, 90, 170)
HSLhsl(263, 32%, 51%)
HSVhsv(263, 47%, 67%)
CMYKcmyk(28.8%, 47.1%, 0%, 33.3%)
CIE-LABlab(44.63, 29.96, -38.45)
CIE-LCHlch(44.63, 48.74, 307.92°)
OKLaboklab(53.49% 0.0625 -0.1079)
OKLCHoklch(53.49% 0.125 300.1)
XYZxyz(18.7953, 14.2795, 39.7884)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AAA #8BAA5A
analogous
#5A63AA #795AAA #A15AAA
triadic
#795AAA #AA795A #5AAA79
tetradic
#795AAA #AA5A63 #8BAA5A #5AAAA1
square
#795AAA #AA5A63 #8BAA5A #5AAAA1
split-complementary
#795AAA #AAA15A #63AA5A
monochromatic
#402F5B #5C4483 #795AAA #9A82BF #BBABD4

Accessibility & contrast

On white

5.45
#795AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#795AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AAA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AAA#FFFFFF#000000##FFFFFF
##795AAA1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#6F687A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795aaa;
/* rgb */ color: rgb(121, 90, 170);
/* oklch */ color: oklch(53.5% 0.125 300.1);
Tailwind
colors: {
  custom: {
    50: '#a289c4',
    500: '#795aaa',
    950: '#000000',
  },
}
SCSS
$custom: #795aaa;
$custom-light: #a289c4;
$custom-dark: #000000;
JSON
{
  "hex": "#795aaa",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 263.25,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.12471,
    "h": 300.1
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#795AAA
secondary
#B4C29E
accent
#C860A0
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #795AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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