#795AA2#795AA2

#795AA2 is a mid, moderate violet. Relative luminance 0.140; OKLCH L 53.0% C 0.114 H 302.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#795AA2
RGBrgb(121, 90, 162)
HSLhsl(266, 29%, 49%)
HSVhsv(266, 44%, 64%)
CMYKcmyk(25.3%, 44.4%, 0%, 36.5%)
CIE-LABlab(44.21, 27.92, -34.38)
CIE-LCHlch(44.21, 44.29, 309.08°)
OKLaboklab(53.04% 0.0613 -0.0961)
OKLCHoklch(53.04% 0.114 302.6)
XYZxyz(18.0615, 13.9859, 35.9234)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AA2 #83A25A
analogous
#5A5FA2 #795AA2 #9D5AA2
triadic
#795AA2 #A2795A #5AA279
tetradic
#795AA2 #A25A5F #83A25A #5AA29D
square
#795AA2 #A25A5F #83A25A #5AA29D
split-complementary
#795AA2 #A29D5A #5FA25A
monochromatic
#3E2E53 #5C447B #795AA2 #9980B9 #B9A8CF

Accessibility & contrast

On white

5.53
#795AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#795AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AA2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AA2#FFFFFF#000000##FFFFFF
##795AA21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#4E68A0
Tritanopia (blue-blind)
#726676
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795aa2;
/* rgb */ color: rgb(121, 90, 162);
/* oklch */ color: oklch(53.0% 0.114 302.6);
Tailwind
colors: {
  custom: {
    50: '#a189be',
    500: '#795aa2',
    950: '#000000',
  },
}
SCSS
$custom: #795aa2;
$custom-light: #a189be;
$custom-dark: #000000;
JSON
{
  "hex": "#795aa2",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 265.833,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.11397,
    "h": 302.6
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#795AA2
secondary
#AEBD9B
accent
#C5639B
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #795AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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